ardeezstyle 0 Light Poster

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.

[U]SaveMod.asp[/U]
[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