Title: [Plugin: Javascript Chat for WordPress] internet explorer &#8211; bug fix
Last modified: August 19, 2016

---

# [Plugin: Javascript Chat for WordPress] internet explorer – bug fix

 *  Resolved [zijua](https://wordpress.org/support/users/zijua/)
 * (@zijua)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-javascript-chat-for-wordpress-internet-explorer-bug-fix/)
 * Hello,
    in the “retrieveData” function inside wp_jschat.js I think you should
   change this raw:
 * data: { wp_jschat_last_date: (_dateStr.trim()!=”)? _dateStr : ”, action : ‘retrieve’,
   wp_jschat_channel: t.find(‘.wp_jschat_canal’).val() }
 * with
 * data: { “wp_jschat_last_date”: “” + _dateStr + “”, “action” : “retrieve”, “wp_jschat_channel”:“”
   + t.find(‘.wp_jschat_canal’).val() + “” }
 * or something like this, to fix an error that occurs on internet explorer if you
   don’t surround that attributes with double quotes.
 * [http://wordpress.org/extend/plugins/javascript-chat-for-wordpress/](http://wordpress.org/extend/plugins/javascript-chat-for-wordpress/)

Viewing 1 replies (of 1 total)

 *  [admataz](https://wordpress.org/support/users/admataz/)
 * (@admataz)
 * [15 years ago](https://wordpress.org/support/topic/plugin-javascript-chat-for-wordpress-internet-explorer-bug-fix/#post-1991664)
 * I found the problem was with IE’s lack of support for trim(). My workaround was
   to use JQuery’s trim function:
 * `data: { wp_jschat_last_date: (jQuery.trim(_dateStr)!='') ? _dateStr : '', action:'
   retrieve', wp_jschat_channel: t.find('.wp_jschat_canal').val() },`

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Javascript Chat for WordPress] internet explorer – bug fix’ 
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/javascript-chat-for-wordpress.svg)
 * [Javascript Chat for Wordpress](https://wordpress.org/plugins/javascript-chat-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/javascript-chat-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/javascript-chat-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/javascript-chat-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/javascript-chat-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/javascript-chat-for-wordpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [admataz](https://wordpress.org/support/users/admataz/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/plugin-javascript-chat-for-wordpress-internet-explorer-bug-fix/#post-1991664)
 * Status: resolved