Title: add chat room java script to a page
Last modified: August 21, 2016

---

# add chat room java script to a page

 *  [asiaexpat](https://wordpress.org/support/users/asiaexpat/)
 * (@asiaexpat)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/add-chat-room-java-script-to-a-page/)
 * Im trying to add java script to a new page– its a parachat chat software
 * i want it to show the chat room when the page is selected from the top menu bar–
   all i get is the code–is this possible?

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

 *  [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/add-chat-room-java-script-to-a-page/#post-3885408)
 * It sounds like you’re trying to add the javascript to the Visual tab of the Editor
   if the page is displaying the code rather than the chat box.
 * Try inserting the javascript on the Text tab of the Editor so that WordPress 
   recognizes it is code and not text.
 * If the chat script you’re using requires a library in addition to the code for
   displaying the chat box, take a look a the Codex article for [wp_enqueue_script](http://codex.wordpress.org/Function_Reference/wp_enqueue_script)
   for the correct way to include the chat script’s library on your site.
 * It may also need its own CSS. There is an also an [wp_enqueue_style](http://codex.wordpress.org/Function_Reference/wp_enqueue_style)
   for that.
 *  Thread Starter [asiaexpat](https://wordpress.org/support/users/asiaexpat/)
 * (@asiaexpat)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/add-chat-room-java-script-to-a-page/#post-3885439)
 * thanks i got it–it was just a matter of putting the code in the text tab of the
   new page form–it works nicely–

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

The topic ‘add chat room java script to a page’ is closed to new replies.

## Tags

 * [java-script](https://wordpress.org/support/topic-tag/java-script/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [asiaexpat](https://wordpress.org/support/users/asiaexpat/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/add-chat-room-java-script-to-a-page/#post-3885439)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
