Create an ajax call with jQuery

		  type: "POST",
		  url: "",
		  data: { 
			  username: "Dribbit", 
			  score: 1590 
		.done(function( msg ) {
		    console.log( "Message returned from the server: " + msg );

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.