Title: Js and ajax loading.
Last modified: August 31, 2016

---

# Js and ajax loading.

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

 * 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/js-and-ajax-loading/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
