PHP Developer
Php , JavaScript , WordPress , Ajax , jquery
Pages
Home
About Me
MYSQL
PHP
JAVASCRIPT
JQUERY
WORDPRESS
Thursday, March 15, 2012
$.ajax method ,
$.ajax({
type: 'POST', // post , get
url: "file.php",
data: {name: "Rajeev", time: "2pm"},
success: function(result,status,xhr){
alert(result); alert(status); alert(xhr);
},
error: function(xhr,status,error){ alert(status);
}
});
No comments:
Post a Comment
If you Satisfied , Please Leave a comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
If you Satisfied , Please Leave a comment