Jump to content

AJAX to return value


glenelkins

Recommended Posts

Hi

 

just a quick one, once i have the response text from an ajax call. how can i get that to return the value?

 

for example:

 

var response = callajax ();

 

function callajax() {

 

    do ajax stuff here

 

    return ( responsetext here )

 

}

 

i know that you cannot return the value in this way, so how would it be done?

Link to comment
https://forums.phpfreaks.com/topic/155510-ajax-to-return-value/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.