Monday 15 June 2015

jquery fails while page loads with xmlhttprequest -


How do I apply jquery to php page filled with XML? I have tried to do this, but when the php page is loaded with xml, then what should i do that jquery can work after the page is loading.

If you load an excerpt on the page, you only do that: the content of that page Load if the scripts are loaded in the page, they will not be executed which you want here.

So in fact, the best advice I can give here is the architecture. Is it possible that you have a loaded script in the page which is loading the Xhore instead of the target page? A terrible idea will have to be parsed xhr.responsetext and to eval them to find script blocks. A dirty solution, but one that is widely used for performance reasons, is to send a xhr separately for javascript files, and eval () them.


No comments:

Post a Comment