/ Published in: jQuery
basic ajax submit
Expand |
Embed | Plain Text
$.ajax({ url: $(this).attr('action') + '.json', data: $(this).serialize(), type: $(this).attr('method'), dataType: "json", success: function(data) { } });
You need to login to post a comment.
