Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript add element to serialized form array

var form_data = $(form).serializeArray(); //Encode form elements for submission
form_data.push({name: 'action', value: 'findCode'});
 
PREVIOUS NEXT
Tagged: #javascript #add #element #serialized #form #array
ADD COMMENT
Topic
Name
5+7 =