Title: Update only when &#8221;submit&#8221;
Last modified: June 24, 2017

---

# Update only when ”submit”

 *  Resolved [autox420](https://wordpress.org/support/users/autox420/)
 * (@autox420)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/update-only-when-submit/)
 * I was thinking.
    To save bandwitch its better to update the chat only when someone
   clicks ”submit”.
 * What do you think?
    Can it be done?

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

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/update-only-when-submit/#post-9257397)
 * Thanks for the feedback. If that were the case, then the chat would not show 
   any new chats until the “submit button” was clicked. So users would have to submit
   something just to check if there were any new messages.
 *  [Alex Human](https://wordpress.org/support/users/alexterrenas/)
 * (@alexterrenas)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/update-only-when-submit/#post-9416647)
 * [@specialk](https://wordpress.org/support/users/specialk/) After the update, 
   the plugin stopped working. After sending a message, sends to /wp-content/plugins/
   simple-ajax-chat/simple-ajax-chat-core.php and nothing happens.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/update-only-when-submit/#post-9416678)
 * Sounds like something is interfering.. which version were you running before 
   upgrading?
 *  [Alex Human](https://wordpress.org/support/users/alexterrenas/)
 * (@alexterrenas)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/update-only-when-submit/#post-9416809)
 * I used the last version. I’m not sure that problem appeared after the update,
   but I didn’t change the plugin code in any way.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/update-only-when-submit/#post-9416923)
 * What about your other plugins, did you also update any of them? Or make any other
   changes to your theme, adding plugins, etc.?
 *  [Alex Human](https://wordpress.org/support/users/alexterrenas/)
 * (@alexterrenas)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/update-only-when-submit/#post-9416949)
 * Solved the problem, thanks for the quick response. It was in the
    <script src
   =”[https://code.jquery.com/jquery-2.2.4.js”></script&gt](https://code.jquery.com/jquery-2.2.4.js”></script&gt);
 * I changed the page template which uses a different header. Didn’t connect it 
   jquery.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/update-only-when-submit/#post-9416976)
 * Awesome, glad you got it sorted 🙂
 *  [Alex Human](https://wordpress.org/support/users/alexterrenas/)
 * (@alexterrenas)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/update-only-when-submit/#post-9416980)
 * It would be cool if you made the option of automatic cleaning chat from 1 to 
   24 hours. I use the chat on the webinar page, and each time guests see the chat
   that was in the last time instead of the new net chat.
 * This is the best plugin for word press and do things like webinars.
 * Thank you))
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/update-only-when-submit/#post-9418875)
 * Actually that functionality already exists in the plugin. Here is a tutorial:
 * [https://wp-mix.com/simple-ajax-chat-auto-clear-chats/](https://wp-mix.com/simple-ajax-chat-auto-clear-chats/)
 * Also please [leave a 5-star review](https://wordpress.org/support/plugin/simple-ajax-chat/reviews/?rate=5#new-post)
   if you like the plugin, it really helps.
    -  This reply was modified 8 years, 9 months ago by [Jeff Starr](https://wordpress.org/support/users/specialk/).
 *  Thread Starter [autox420](https://wordpress.org/support/users/autox420/)
 * (@autox420)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/update-only-when-submit/#post-9631271)
 * Well its not resolved!
    Im trying to use this plugin cause i like it the most.
 * Someone write something about
    <script src=”https://code.jquery.com/jquery-2.2.4.
   js”></script>
 * What exectly did you do to solve it?
 * I have disabled all plugins fresh install.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/update-only-when-submit/#post-9631307)
 * Hello autox420, please do not double post on threads, it just means more work
   for everyone. If you ever need to get in touch directly, you can reach me [here](https://perishablepress.com/contact/).
 * For your question, there a few big things to look at:
 * 1) Is your wp-config.php file in the usual location, or a custom location
    2)
   Is the required SAC JavaScript getting loaded correctly on the page 3) Is there
   any other JavaScript that may be interfering with the SAC JS
 * I would begin by checking those three things. To check for the JS on the page,
   you can inspect your source code. For the JS errors, you can install a browser
   extension.
 * If there is any further information I can provide, please let me know. Thank 
   you

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

The topic ‘Update only when ”submit”’ is closed to new replies.

 * ![](https://ps.w.org/simple-ajax-chat/assets/icon-256x256.png?rev=1473439)
 * [Simple Ajax Chat – Add a Fast, Secure Chat Box](https://wordpress.org/plugins/simple-ajax-chat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-ajax-chat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-ajax-chat/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-ajax-chat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-ajax-chat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-ajax-chat/reviews/)

 * 11 replies
 * 3 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/update-only-when-submit/#post-9631307)
 * Status: resolved