欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

a標簽的target鏈接指向iframe的方法

  發(fā)布時間:2014-09-04 10:02:56   作者:佚名   我要評論
這篇文章主要介紹了a標簽的target鏈接指向iframe的方法,切記不是用Id來做指向的目標而是name,需要的朋友可以參考下

復(fù)制代碼
代碼如下:

<iframe id="myFrameId" name="myFrameName" scrolling="no" frameborder="0" style="width:200px; height:150px; "></iframe>
<a href="../ashx/Print2DCodeImage.ashx?codeInfo=Demo123" target="myFrameName" >打印二維碼</a>

上面的這個a標簽的target指向的是name為myFrameName的iframe,不是用Id來做指向的目標,如果target=“myFrameId”的話只有新版的Chrome、opera支持,在IE10,F(xiàn)F中都不生效。

相關(guān)文章

最新評論