Dear Friend:

I use $getScript to load some .js and include another html into my div
code like

$("#news1").bind("click",function(){

   $.getScript("/admin_css/includeme0.js");
   $.get("/myadmin/query.xhtml?r=dis&w=chkandreplace&page=news",function(data){

   $("#showhere").show("slow").html(data);
               });
   });

it work fine !! but i use firebug to check it ...found
includeme0.js load over and over again when use click
 any solution to solve this ?

I use $getScript because i don't want the main html load too much .js


Thanks !!

Michael

Reply via email to