FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Handling with xmlhttp.responseText
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Handling with xmlhttp.responseText [message #178803] Tue, 07 August 2012 11:27 Go to next message
Mayank Mahajan is currently offline  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 Go to previous message
Erwin Moller is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: button, parameter and reload - How do I glue it all together?
Next Topic: Fatal error: Class 'HttpRequest' not found
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 19:13:33 GMT 2024

Total time taken to generate the page: 0.08183 seconds