I want to send form data from ajax to php. My ajax retrieves the form data but it doesnt send it i dont see anything wrong with the code maybe i need a much more professional he
Try this,
$('#signup').live('click', function(){ $.ajax({ url:’’,//url to submit type: "post", dataType : 'json', data : { 'Susername' : $('#Susername').val(), 'Semail' : $('#Semail').val(), 'Spassword' : $('#Spassword').val() }, success: function (data) { } }); return false; });