You can use serializeArray
[docs] and add the additional data:
var data = $('#myForm').serializeArray();
data.push({name: 'wordlist', value: wordlist});
$.post("page.php", data);
More Related Contents:
- Change from (+) symbol to (-) after click (function(){
- Remove element from JS injected HTML
- Detecting input change in jQuery?
- how to get GET and POST variables with JQuery?
- Equivalent of String.format in jQuery
- How to use source: function()… and AJAX in JQuery UI autocomplete
- How to scroll to top of page with JavaScript/jQuery?
- How to detect scroll position of page using jQuery
- How to use jQuery to select a dropdown option?
- Does using $this instead of $(this) provide a performance enhancement?
- JavaScript Scale Text to Fit in Fixed Div
- AngularJS group check box validation
- How to get current date in jQuery?
- Why “$().ready(handler)” is not recommended?
- knockout data-bind on dynamically generated elements
- How can I use JSON data to populate the options of a select box?
- jQuery JSON looping through nested objects
- function in setInterval() executes without delay
- How to check in js that user has checked the checkbox in Google recaptcha?
- Alert for unsaved changes in form
- new Image(), how to know if image 100% loaded or not?
- AngularJS : ng-model binding not updating when changed with jQuery
- how to read json result in jquery?
- How to change tabs programmatically in jquery-ui 1.9?
- Trigger for span text/html on changed
- How to get the width of an svg:g element
- Is it a bad practice to use jQuery in Angular? [closed]
- How to make only some text in a text-box read-only while allowing the rest to be edited
- flot graph, use legend to turn on/off series
- Python Flask Cors Issue