Return to Snippet

Revision: 30026
at August 6, 2010 06:45 by benrasmusen


Updated Code
$.ajax({
	url: $(this).attr('action') + '.json',
	data: $(this).serialize(),
	type: $(this).attr('method'),
	dataType: "json",
	success: function(data) {
		
	}
});

Revision: 30025
at August 6, 2010 06:21 by benrasmusen


Initial Code
$.ajax({
	url: $(this).attr('action') + '.json',
	data: $(this).serialize(),
	type: $(this).attr('method'),
	dataType: "JSON",
	success: function(data) {
		
	}
});

Initial URL

                                

Initial Description
basic ajax submit

Initial Title
Basic jQuery AJAX Submit

Initial Tags
ajax

Initial Language
jQuery