Hi,
I was trying an AJAX demo given by David O'Meara -- thanks again David -- have lots of doubts.
Here is the partial code (couldn't post whole because of JR problem):
Now, when I execute this application, I get a page with link 'send' and when I click that link, I get alerts in following order:
'check 0'
'check 1' (in the background) and 'check 0.5' both at the same time
If I press okay for 'check 0.5' alert I get one more alert something like this:
error fetching data!
readyState:4
status:404
and all headers information (this alert is pesent in net.js)
Now my first confusion is, if you see the sendCall() JS function, 'check 0' is okay, then the next line is calling the following code of net.js file:
How that line is calling this code??? The signature of this function in net.js file is very confusing? Can any one make it clear for me? I have some more doubts also, will ask later.
Thanks a lot.