hi guys im still learning jquery , ajax, down below example of im trying problem 1 in mvc confusing me. wondering if refer me example of jquery ui popup submit form ajax partial post similar 1 in picture, in asp.net pls.
you can write javascript code @ end of view file:
$('#form-id').submit(function () { data = $(this).serialize() $.ajax({ url: 'your url', type: 'post', data: data, success: function(response) { //implement code here } }); return false;
});
Comments
Post a Comment