开发者

IFRAME - FORM - GWT page not opens in new window

开发者 https://www.devze.com 2023-03-10 11:27 出处:网络
My html page contain form. when from submited then page is redirected to gwt page(in same window). IFrame added in my html page.

My html page contain form. when from submited then page is redirected to gwt page(in same window). IFrame added in my html page.

I want to open gwt page(Iframe) in new window.

I used target="_blank" in from tag as as well as in iframe tag sti开发者_如何学编程ll my gwt page(iframe) not opens in new window.

My Parent html page contains as follows:

<FORM name='view' method='post' action='View' target="_blank"><DIV width="100%" height="100%">
          < TABLE cellspacing="0" cellpadding="0" width="100%" height="100%" class="headerContentsDiv" id="Table">
                < TR>
                    < TD align="left" colspan="2" width="100%">
                        < IFRAME id="SGtogwt" name="SGtogwt"  src="GWTAPPS/SGtogwt/war/SGToGwt.html" width="100%" height="100%" style="padding-top: 10px" frameborder="0" scrolling="yes" target="_blank">                  
                        < /IFRAME>
                    < /TD>
                < /TR>
            < /TABLE>
        < /DIV>
    < /FORM>

Any help or guidance in this matter would be appreciated.


give target="_top" a go, should do the trick.

0

精彩评论

暂无评论...
验证码 换一张
取 消