Hopefully a quick question.
in a file I call a function ending with
(this is an ajaxform submission thing)Code:text = xmlhttp.responseText; //alert('more: '+text); (commented on purpose for this example) return text;
in the calling function:
If I uncomment the alert in the first code snippet, I get an alert with "Try: and the correct response text".Code:text = ajaxformSP(val, handler, form); alert('try: '+text);
If I leave it commented, the alert 'try '+ text has null or nothing for text.
Anyone have any idea why, and also, Any idea how I can deal with this issue without having to make an alert?



Reply With Quote

Bookmarks