On Aug 13, 10:56 am, "Sean Catchpole" <[EMAIL PROTECTED]> wrote: > Loading different pages with .ready's is just fine. If the page has already > loaded then all .ready functions will be executed immediately. Also, there > is probably not a scoping issue. You might want to make sure that the html > you are trying to change (<a> tags) have all been loaded at the point your > cluetip code gets executed.
Thanks Sean. The only I get it to behave right is to uncomment the following the initial web page: <script type='text/javascript'> $(document).ready(function() { /* $('a.basic').cluetip({width: '450px', arrows:true, dropShadow: false, waitImage: '/public/js/ wait.gif'}); */ $('#winserver_pane1').load('/code/jqApplet1.wcx'); $('#winserver_pane2').load('/code/jqApplet2.wcx'); }); </script> Each of the jqAppletx.wcx modudes generate HTML that includes the same $('a.basic' ) line: <script type='text/javascript'> $(document).ready(function() { $('a.basic').cluetip({width: '450px', arrows:true, dropShadow: false, waitImage: '/public/js/ wait.gif'}); }); </script> I am not sure how to wait on the completion. Does document.ready apply when loaded by a AJAX call? hmmmm, I thought jQuery did that for ya. It evaluates any scripts after the document loads? No?