| | |
window.opener
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: May 2008
Posts: 48
Reputation:
Solved Threads: 1
Hi Everybody! How are you doing?
I've come across a problem which I'm unable to solve. Actually itz related to window.opener method in javascript. The problem is the code which is very well working in IE is not working in Firefox.
Let me provide the code which will help you find a solution to my problem.
SaveMod.asp
[SCRIPT language="javascript"
function LoadForm(){
if (FormDiv.innerHTML==""){
document.getElementById("Data").value=window.opener.FormDiv.innerHTML;
document.getElementById("DataForm").submit();
}
}
[/SCRIPT]
[BODY onload="javascript: LoadForm()"]
[FORM id="DataForm" method=post action="SaveMod.asp"]
[INPUT type="hidden" id="Data" name="Data"]
[/FORM]
[/BODY]
Any help will be highly appreciated by me.
Regards
Rupam Datta
I've come across a problem which I'm unable to solve. Actually itz related to window.opener method in javascript. The problem is the code which is very well working in IE is not working in Firefox.
Let me provide the code which will help you find a solution to my problem.
SaveMod.asp
[SCRIPT language="javascript"
function LoadForm(){
if (FormDiv.innerHTML==""){
document.getElementById("Data").value=window.opener.FormDiv.innerHTML;
document.getElementById("DataForm").submit();
}
}
[/SCRIPT]
[BODY onload="javascript: LoadForm()"]
[FORM id="DataForm" method=post action="SaveMod.asp"]
[INPUT type="hidden" id="Data" name="Data"]
[/FORM]
[/BODY]
Any help will be highly appreciated by me.
Regards
Rupam Datta
![]() |
Similar Threads
- Load custom window with open.window function? (JavaScript / DHTML / AJAX)
- window.close() problems (JavaScript / DHTML / AJAX)
- refresh the parent window then the child window should be closed (PHP)
- disable parent window (JavaScript / DHTML / AJAX)
- Problem closing Browser with Window.Close (ASP.NET)
- JavaScript's window.opener (JavaScript / DHTML / AJAX)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: open new subwindow
- Next Thread: regarding back button disabling in IE and Firefox
| Thread Tools | Search this Thread |
acid2 ajax ajaxcode ajaxhelp animate automatically beta box bug calendar captcha cart checkbox child class column cookies createrange() css cursor decimal design disablefirebug dom download dropdown editor element engine enter error events explorer ext file focus form forms frameworks google gwt html htmlform ie8 iframe image() images index internet java javascript jawascriptruntimeerror jquery jsf jsfile jump listbox math matrixcaptcha menu microsoft mimic mp4 object onmouseoutdivproblem onmouseover onreadystatechange parent php player post problem progressbar prototype rating regex runtime scale scroll search select session shopping size sql star starrating stars text textarea validation w3c web website window windowofwords windowsxp wysiwyg xml \n





