Handling with xmlhttp.responseText [message #178803] |
Tue, 07 August 2012 11:27 |
Mayank Mahajan
Messages: 1 Registered: August 2012
Karma: 0
|
Junior Member |
|
|
Hi,
I am reading a file using php that is being called from *.js
Could you please guide me how to use the response 'xmlhttp.responseText' in another functions in js file.
How it should be referenced?
|
|
|
Re: Handling with xmlhttp.responseText [message #178804 is a reply to message #178803] |
Tue, 07 August 2012 13:06 |
Erwin Moller
Messages: 228 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 8/7/2012 1:27 PM, Mayank Mahajan wrote:
> Hi,
>
> I am reading a file using php that is being called from *.js
>
> Could you please guide me how to use the response 'xmlhttp.responseText' in another functions in js file.
>
> How it should be referenced?
>
xmlhttp.responseText is none of PHP's business. :-)
PHP only delivers output that your XHR accepts.
I advice you to go to comp.lang.javascript for help on XHR.
Regards,
Erwin Moller
--
"That which can be asserted without evidence, can be dismissed without
evidence."
-- Christopher Hitchens
|
|
|