The code below saves all the Input Fields. If I change the word "INPUT" to "TEXTAREA" it will save the textarea text boxes, is there a way to change the code to save all the input fields and the textarea fields at the same time, as opposed to running through the code twice?
- // JQUERY: Run .autoSubmit() on all INPUT fields within form
- $(function(){
- $('#ajax-form INPUT').autoSubmit();