Ajax and javascript.
-
I’ve a general query on how js is handled when using ajax for partial page-loads.
My understanding – and I’m not sure this is right – is that when ajax is used to load parts of a page rather than the entire page:
1 Anything within ‘script’ tags (whether js, or link to .js file) in the part of the page which is ajax-loaded is stripped-out.
2 Js in those parts (header/footer) of the page which remain onscreen and aren’t reloaded, remain active.
The topic ‘Ajax and javascript.’ is closed to new replies.