form submit not working in firefox but works fine in IE
        Posted  
        
            by jestges
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by jestges
        
        
        
        Published on 2010-05-28T12:05:30Z
        Indexed on 
            2010/05/28
            12:11 UTC
        
        
        Read the original article
        Hit count: 276
        
Hi, I want to submit my parent page when I click on submit button of the child page. In my child page I've written my code as
string scriptString = "<script language=JavaScript> window.opener.document.forms(0).submit(); </script>";
            // ASP.NET 2.0
            if (!Page.ClientScript.IsClientScriptBlockRegistered(scriptString))
            {
                Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "script", scriptString);
            }
it is working fine in IE but not working in Firefox. What could be the alternate method for this?
Thank in advance
© Stack Overflow or respective owner