Thanx Vivek,
but it was my own fault that the div was working the first time and not the second time around. The problem was that I wasnt clearing the innerHTML for the div after the first callback, when the user clicked the second time, the form was imported again in the second div creating a conflict of identifiers.
well got around that, was my mistake sorry.
but I still couldnt access the javascript array from the master page in the child form which was called into the div, although I could see it in the debugger in the innerHTML of the div, but still the master page
js wouldnt access it.
I got around this problem by generating the
js array required for ALL the records on the master page, instead of the detail.
its not a very good design but at least i got the form working...
Quote:
quote:Originally posted by vivek_inos
I think you will need to have the div tag in that asp page with same id,
So that when data on the page is replaced with new record it should have the same div tag in it to be accessible for next call.
Let me know if its helpful.
Best Regards,
Vivek.
|