Js and ajax loading.
-
I’m using a plugin to load pages with ajax, and trying to better understand how js is affected by ajax loading.
1 If a post or page contains inline javascript, within a section of the page which is ajax-loaded, should that javascript get loaded?
2 If the header or footer, which remain on-screen and aren’t loaded by ajax, contains javascript should that javascript remain loaded even though other parts of the pages are being loaded by ajax?
3 Does this change if the javascript is an external file – either on the same site, or a different one?
The topic ‘Js and ajax loading.’ is closed to new replies.