Title: javascript in post
Last modified: August 19, 2016

---

# javascript in post

 *  [mimieux](https://wordpress.org/support/users/mimieux/)
 * (@mimieux)
 * [16 years ago](https://wordpress.org/support/topic/javascript-in-post-3/)
 * actually its wp 2.9.2; thesis theme 1.5
 * i was just wondering how bad a security risk it is to deploy javascript in a 
   post
 * i was working on wordpress install using thesis theme which seems to allow that
   to happen.
 * see: [http://madbadcat.org/buspro](http://madbadcat.org/buspro)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years ago](https://wordpress.org/support/topic/javascript-in-post-3/#post-1456603)
 * [http://codex.wordpress.org/Using_Javascript](http://codex.wordpress.org/Using_Javascript)
 *  [billwandel](https://wordpress.org/support/users/billwandel/)
 * (@billwandel)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/javascript-in-post-3/#post-1456929)
 * The above “using java” tutorial says one can enter the following text into a 
   post to call a bit of java script;
 * <script type=”text/javascript”>
    <!– updatepage(); //–></script>
 * I’m trying to do this, but a “<p>” tag is always auto-inserted in front rendering
   it useless. I’m using the html tab on the editor, can anyone tell me how to prevent
   the post editor in wordpress from auto-inserting a paragraph tag before my script?
 * Any help would be greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘javascript in post’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [billwandel](https://wordpress.org/support/users/billwandel/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/javascript-in-post-3/#post-1456929)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
