Ajax Post Simplification?
Is it not possible to post all form fields without having to specify them (eg. like a normal http post)?
Surely if you have a largish form this is not very practical? Are there any inline methods that can be employed that don't require the data to be passed like this?
- $.ajax({
type: "POST",
url: "some.php",
data: "field1=blah&field2=blah",
success: function(msg){
}
});