Title: How to create chat room using javascript?
Last modified: January 13, 2023

---

# How to create chat room using javascript?

 *  Resolved [tonygao](https://wordpress.org/support/users/tonygao/)
 * (@tonygao)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/how-to-create-chat-room-using-javascript/)
 * Hello, I already know how to create chat room using the shortcode, but how can
   I create chat room from front end using javascript?

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

 *  Plugin Author [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * (@marcinlawrowski)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/how-to-create-chat-room-using-javascript/#post-16457216)
 * Hello [@tonygao](https://wordpress.org/support/users/tonygao/)
 * Unfortunately, there is no easy way of doing it. If you have chat loaded already
   on a page then you can use:
 *     ```wp-block-code
       window._wiseChat.init(element); // element is a div with data-wc-config attribute
       ```
   
 *  Thread Starter [tonygao](https://wordpress.org/support/users/tonygao/)
 * (@tonygao)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/how-to-create-chat-room-using-javascript/#post-16457255)
 * Thanks

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

The topic ‘How to create chat room using javascript?’ is closed to new replies.

 * ![](https://ps.w.org/wise-chat/assets/icon-128x128.png?rev=1306481)
 * [Wise Chat](https://wordpress.org/plugins/wise-chat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wise-chat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wise-chat/)
 * [Active Topics](https://wordpress.org/support/plugin/wise-chat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wise-chat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wise-chat/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [tonygao](https://wordpress.org/support/users/tonygao/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/how-to-create-chat-room-using-javascript/#post-16457255)
 * Status: resolved