/ Published in: jQuery
                    
                                        
basic ajax submit
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
$.ajax({
url: $(this).attr('action') + '.json',
data: $(this).serialize(),
type: $(this).attr('method'),
dataType: "json",
success: function(data) {
}
});
Comments
 Subscribe to comments
                    Subscribe to comments
                
                