I currently have the following:
$.ajax({ type: 'POST', url: this.action, data: $(this).serialize(), });
This works great, however I would like to add a value to the data, so I tried
$.ajax({ type: 'POST', url: this.action, data: $(this).serialize() + '&=NonFormValue' + NonFormValue, });
But this is not true. Any ideas on how to add an item to a serialization string? This is a global page variable that is not specific.
jquery serialization
TheExit Jun 30 '11 at 18:38 2011-06-30 18:38
source share