having problem with sending information to php file using ajax
| From: | Amin Gholian | Date: | Fri, 19 Apr 2013 18:46:38 +0000 |
| Subject: | having problem with sending information to php file using ajax | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-15774@lists.php.net to get a copy of this message | ||
Hey,
I'm sending some parameters using Ajax code, but it never gets to my php file and never execute
my php funtions. Here is my code:
var check = $.ajax({
type : "POST",
datatype : 'JSON',
url : "/library/ajax/ajax_functions.php",
data : {
email : email,
action : 'checkUsername'
},
success : function(msg) {
_return(msg);
}
});
I was wondering if you could help me out here, I'm using windows server 2012 and IIS in order
to run my php application.
Thank You,
Amin.