Re: PHP output fails from AJAX call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tried but still not working :(

Actually i think value is clearly passing to the function and then to the
ajaxex.php. I tested by printing the exact value :

//document.write(queryString);

and it is showing the exact value of the user that you chooses. So , i dont
think problem lies in the value.

Access log clearly says it executed ajaxex.php without any issues :

1.4.12.25 - - [30/Jan/2014:09:58:31 +0000] "GET
/project/ajaxex.*php?q=133*HTTP/1.1" 200
*6093* "http://db11.app.com/project/"; "Mozilla/5.0 (Macintosh; Intel Mac OS
X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.102
Safari/537.36"

It  trasferred about 6093 bytes after executing ajaxex.php but dont know
why it is not coming after clicking on the button.

Strange thing is if you execute directly
*http://db11.app.com/project/ajaxex.php?q=133
<http://db11.app.com/project/ajaxex.php?q=133>* you will get the complete
report.


Thanks


On Thu, Jan 30, 2014 at 3:24 PM, Tim Streater <tim@xxxxxxxxxxxxxxxx> wrote:

> On 30 Jan 2014 at 09:39, Adarsh Sharma <eddy.adarsh@xxxxxxxxx> wrote:
>
> > var users = document.getElementById('users').value;
>
> You probably want:
>
> var ptr = document.getElementById('users');
> var ind = ptr.selectedIndex;
> var users = ptr.options[ind].value;
>
>
>
> --
> Cheers  --  Tim
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux