yogesh - 12:45 pm on Dec 29, 2011 (gmt 0)
Are you saying you have implemented EXACTLY as I showed? I don't believe so. The definition of DATA_RECEIVER_DIV must be standalone global code as I showed to be read as the page is loaded, as opposed to in a function call later on or anything like that
You are right. I was defining it in a function. Hence it did not work as expected.
I will add that above method does not work in jsonp callback because jsonp is asynch. By the time you get your data back, parsing may have moved onto next div depending on browser or network connections. This is ok since it is inherently characteristic of jsonp.
Thanks a ton for your help on this. It has cleared a few things for me.