php - jQuery simple form submission without reload -


could provide me simple code form submission jquery. on web sorts of gizmo coding.

$('#your_form_id').submit(function(){   var datastring = $("#your_form_id").serialize();    $.ajax({       type: "post",       url: "submit.php",       data: datastring,       success: function() {         alert('sent!');     }     });    return false; }); 

Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -