Title: Form not working without JavaScript
Last modified: May 16, 2017

---

# Form not working without JavaScript

 *  [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [9 years ago](https://wordpress.org/support/topic/form-not-working-without-javascript/)
 * The plugin does not degrace gracefully when using a form with JavaScript disabled.
 * Additionally, the event binding does not work with elements which are added to
   the page during or after the **document.ready** event. A better way would be 
   to use delegation, which requires changing just one line of code in the plugin.
 * File: `js/mailing-front.js`
 *     ```
       jQuery('form').on('submit', function(e){
       ```
   
 * Should be changed to:
 *     ```
       jQuery(document).on('submit', 'form', function(e) {
       ```
   
 * That will use event delegation, meaning the script will hook into any form that
   is submitted regardless of when its DOM element was created. I would submit a
   pull request, but was unable to find the plugin on GitHub.
 * Cheers, Danny

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

 *  Plugin Author [Brevo](https://wordpress.org/support/users/neeraj_slit/)
 * (@neeraj_slit)
 * [9 years ago](https://wordpress.org/support/topic/form-not-working-without-javascript/#post-9136662)
 * Hi Danny,
 * Thank you for letting us know – we appreciate it.
    Our developers will look into
   it!
 * Have a great day.
    SendinBlue Customer Care
 *  [Marc](https://wordpress.org/support/users/arbolife/)
 * (@arbolife)
 * [9 years ago](https://wordpress.org/support/topic/form-not-working-without-javascript/#post-9138068)
 * Hi,
 * Thanks Danny for finding this and reporting it to SendinBlue.
 * @SendinBlue, our site is affected by this issue when using a SendinBlue mailing
   list subscription form inside a Boxzilla pop-up window. Could you please let 
   me know if there’s a new version of the plugin to test?
 * Best,
    Marc
 *  Plugin Author [Brevo](https://wordpress.org/support/users/neeraj_slit/)
 * (@neeraj_slit)
 * [9 years ago](https://wordpress.org/support/topic/form-not-working-without-javascript/#post-9154144)
 * Hi Marc,
 * The latest version of the plugin is Version 2.7.3. Are you still experiencing
   this issue?
 * Kind regards,
    SendinBlue Customer Care

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

The topic ‘Form not working without JavaScript’ is closed to new replies.

 * ![](https://ps.w.org/mailin/assets/icon-256x256.png?rev=2993173)
 * [Brevo - Email, SMS, Web Push, Chat, and more.](https://wordpress.org/plugins/mailin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailin/)
 * [Active Topics](https://wordpress.org/support/plugin/mailin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailin/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Marc](https://wordpress.org/support/users/arbolife/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/form-not-working-without-javascript/#post-9138068)
 * Status: not a support question