Jquery Ajax example submit


/ Published in: jQuery
Save to your folder(s)

simple ajax submit (example is from jquery doc)


Copy this code and paste it in your HTML
  1. $.ajax({
  2. url: "test.html",
  3. context: document.body,
  4. success: function(){
  5. $(this).addClass("done");
  6. }
  7. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.