Closed
Bug 263655
Opened 20 years ago
Closed 20 years ago
window.open doesn't work when called with <a href=javascript:func()>...</a>
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ajaxas, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Create a javascript function that opens new window (function fun(){var newW;
newW=window.open()) and call it with <a href=javascript:function_name()>...</a>
- wouldn't work.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•20 years ago
|
||
WFM
data:text/html,<html><head><script>function fun(){var
newW;newW=window.open();}</script></head><body><a
href="javascript:fun()">fun</a></body></html>
If you have an example that should work but fails, please add it as an
attachment (or a data: URL) and reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
(In reply to comment #1)
man WFM
Exactly as you wote. Scuse me, didn't understand what you wanted me to do. The
simpliest example you've described doesn't work. Other browsers OK.
You need to log in
before you can comment on or make changes to this bug.
Description
•