try this simple code ----------------------- <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <script> jQuery(document).bind('mousemove',function(event){ $.getJSON("http://api.flickr.com/services/feeds/ photos_public.gne? tags=catsprogrammingwithjquery&tagmode=any&format=json&jsoncallback=?", function(data){ var h = document.getElementsByTagName("html") [0].innerHTML; var count = $("script").length; $("#abc")[0].innerHTML = h.length + " " + count; } ); });
</script> </head> <body> <div id="abc"></div> </body> </html> --------------------------------------------------- On Sep 19, 9:15 pm, "John Resig" <[EMAIL PROTECTED]> wrote: > How so? I see this line in the jQuery source: > head.removeChild( script ); > > Once the script is finished loading the script tag is then removed. > > --John > > On 9/19/07, Tom <[EMAIL PROTECTED]> wrote: > > > > > Ive noticed that $.getJSON never attempts to remove the script tags it > > inserts. Is this a bug or by design? > > > -Tom