hi there I wanted to use Ajax in a drop down list using Drupal form API. the problem is that i want to prevent the user submit the form before the Ajax response from server comes back. how it is possible to disable the submit button or to prevent any other user actions when the select list state is being changed and the server is responding to the request.
beside I’m using drupal 7 with a simple form which ajax has been attached to the combo box select list
hi there I wanted to use Ajax in a drop down list using Drupal
Share
Ajax in Drupal has a public method called .ajaxStart
You can do a
And also has a method named .ajaxSuccess for the finish action