Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
(Move to ...)
Home
Me
▼
Wednesday, December 22, 2010
jQuery Ajax - Save And Receive Data
Here's a code on how to send some data to the server and then notify the user that the saved data has completes:
$.ajax({
type: "POST",
url: "some.php",
data: "name=lady&city=ny",
success: function(msg){
alert('Data saved: '+msg);
}
});
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment