开发者

Loading aspx page using jquery .load method

开发者 https://www.devze.com 2023-03-28 15:30 出处:网络
In my page I have a dropdown that filter through the dining options that we 开发者_运维百科have. I use jquery .load to reload the list. My problem is I\'m using squishit to compress and combined my cs

In my page I have a dropdown that filter through the dining options that we 开发者_运维百科have. I use jquery .load to reload the list. My problem is I'm using squishit to compress and combined my css/js files and I need to reference this again in the aspx page that I try to load. Am I doing it right? or is there a proper way of referencing the same css/javascript to the aspx page i'm loading?

Thanks.


IMHO do not use .load function of jquery , since it will not work on IE 6,7 , instead i would use regular $.ajax().

Also you can use $.getScript() to load script to memory.

0

精彩评论

暂无评论...
验证码 换一张
取 消