我無法弄清楚爲什麼以下輸入在IE中不起作用。我也試過type="button"
,它也不起作用。輸入類型的圖像在Internet Explorer中無法正常工作,但適用於Chrome和Firefox
<input type="image" src="/images/150x200.png" alt="Profile" onClick="window.open('http://www.genericname.com/blah.aspx','Blah - Blah Blah','width=790,height=600,resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no')" />
我的目標是有一個新的窗口開闢爲彈出在點擊按鈕。
我需要知道這是否是已知的錯誤。如果是這樣,我將需要找到另一種解決方案。歡迎任何建議。
感謝您的快速響應!我不能相信我錯過了這一點。 – user1533376 2012-08-04 01:14:03