Jquery ui Submit form ajax asp.net -


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.

enter image description here

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