A jQuery plugin. The opposite of .serialize. It takes a query string and loads it into a
.Usage
$("form").formize(); // uses location.search
$("form").formize(parseSearchResult);
Usage
var formObject= parseSearch() // uses location.search
var formObject= parseSearch(aQueryString)
Usage
$.ajax({
url: "YourServerProgram",
type: "POST", // required
processData: false, // required
contentType: false, // required
data: $("form").serializeFormData(), // sends the files as well!
success: function() {
console.log("Uploaded.", arguments)
},
error: function() {
console.log("Error Uploading.", arguments)
},
})
/* make an 'JSON' object to send using AJAX */
var json = parseSearch($("form").serialize())