Title: Ajax and javascript.
Last modified: August 31, 2016

---

# Ajax and javascript.

 *  [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [gulliver](https://wordpress.org/support/users/gulliver/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/ajax-and-javascript/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
