If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Thanks for reply Jeff,
but the first way leads to a creation of useless function that calls another function.. unnecessary step..
How do I get the response text with the second call ? I need to pass the 'data' as a parameter somehow.
Do I?
I need myfunc to alert data. How do I do it the second way ?