2010-04-26 81 views
0

代碼不接近:iframe的關閉(通過的onclick =「self.parent.tb_remove())在Firefox和IE7,但它確實在Chrome

HTML:

<p>View full-size photo <a href="iframeModal.html?placeValuesBeforeTB_=savedValues&TB_iframe=true&height=500&width=800&modal=true" title="The descripttion goes here." class="thickbox">here</a>.</p> 

I幀:

<input id="Login" value="&nbsp;&nbsp;Ok&nbsp;&nbsp;" onclick="self.parent.tb_remove();" type="submit"> 

我思念的東西

+0

@hello_there_andy請避免進行微不足道的編輯。請有一個閱讀:http://meta.stackoverflow.com/questions/276402/100-edits-in-one-evening-is-it-wrong/276435#276435 – PiotrWolkowski 2015-04-08 01:12:07

回答

1

我想嘗試window.parent.tb_remove();我不知道什麼是「自我」是,我不硝酸鉀w「tb_remove」是什麼,總的來說,我不太瞭解情況。

+0

感謝您的時間。 tb = Thickbox http://jquery.com/demo/thickbox/ – alexchenco 2010-04-26 15:00:27

相關問題