jquery - refresh javascript and css after ajax $.get_ -


i have global css , js have required definitions me. if try load in html blocks via ajax $.get newly loaded elements don't proper css/js definitions. there options refresh global js/css?

most need rethink main page design more include resources needed.

you can append <link> tags current page , use $.getscript() add js , css . in callbacks of current $.get.

if having issues need itnitalize plugins or functions or event handlers relate new html...do in callback of $.get().

without more details specific issues hard answer in more general terms

or use more advanced dependency manager script


Comments