Skip to content

Author: admin@master

JavaScript submit form excluding fields

I have a simple html form: And I need to submit it with JavaScript, but I want to exclude the dontSubmitThisField field from the request. Is there a way of doing that without Ajax? Answer Just disable the field. Either do it via HTML if the field cannot be updated by the user: http://www.w3schools.com/tags/at…