On 19 April 2013 19:46, Amin Gholian <[email protected]> wrote:
> 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.
>
That code is javascript. Looks fine as far as it goes.
What does the PHP code look like?
--
Richard Quadling
Twitter : @RQuadling
EE : http://e-e.com/M_248814.html
Zend : http://bit.ly/9O8vFY