Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('button[id="signup"]').click(function(){
- var serializedData = $('form[id="signup"]').serializeObject();
- alert(serializedData);
- $.ajax({
- type: 'POST',
- url: 'php/test.php',
- data: serializedData,
- success: function(data) {
- $("#response").html(data)('success', data);
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement