alok_km
04-03-2006, 10:58 AM
Hi All,
I am generating a popup window which on loading calls a function which return some HTML code. PopWindow is HTML page containing a form and some buttons which uses AJAX.
This HTML code is to be filled in a div in a parent window which has generated the pop up window.
Can anybody suggest a way how I can do it using Javascript or HTML.
I have tried
document.my_form.resultdiv.innerHTML = <HTML Generated>
\$('window.opener.document.my_form.resultdiv').innerHTML =<HTML Generated>
ect.. and these things does not works for me .
Please suggest something........
I am generating a popup window which on loading calls a function which return some HTML code. PopWindow is HTML page containing a form and some buttons which uses AJAX.
This HTML code is to be filled in a div in a parent window which has generated the pop up window.
Can anybody suggest a way how I can do it using Javascript or HTML.
I have tried
document.my_form.resultdiv.innerHTML = <HTML Generated>
\$('window.opener.document.my_form.resultdiv').innerHTML =<HTML Generated>
ect.. and these things does not works for me .
Please suggest something........