Title: using Javascript in posts
Last modified: August 20, 2016

---

# using Javascript in posts

 *  [amishtek](https://wordpress.org/support/users/amishtek/)
 * (@amishtek)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/using-javascript-in-posts/)
 * Hello. I am trying to use a javascript that doesn’t use the standard sort of “
   onClick” functions. it is for a click-to-zoom pop up thing for images.
 * I tried a variety of things. But because there are several function references
   in the javascript file, I am unsure how to call them in the individual posts (
   as I’ve read is necessary).
 * I tried to write a function to call the entire javascript file for the individual
   post, but as I suspected, that didn’t work either. Is there anyway to do this?

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/using-javascript-in-posts/#post-2348709)
 * [http://codex.wordpress.org/Using_Javascript](http://codex.wordpress.org/Using_Javascript)

Viewing 1 replies (of 1 total)

The topic ‘using Javascript in posts’ is closed to new replies.

## Tags

 * [function](https://wordpress.org/support/topic-tag/function/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [js](https://wordpress.org/support/topic-tag/js/)

 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/using-javascript-in-posts/#post-2348709)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
