Closed
Bug 44767
Opened 24 years ago
Closed 24 years ago
Bad: javascript:void(0); should do nothing
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
People
(Reporter: m_bukovjan, Assigned: rogerl)
References
()
Details
From Bugzilla Helper: User-Agent: Mozilla/4.73 [en] (X11; U; Linux 2.2.16-3 i686) BuildID: Gecko/20000706 I have a link (href) which leads to "javascript:void(0)" . It should do nothing when followed, but Mozilla displays an empty page. It does nothing under NS4 or IE4, IE5 Reproducible: Always Steps to Reproduce: 1.Create a page with a href pointing to somewhere 2.Change the href location by JavaScript to "javascript:void(0)" 3.When you click on a such a link, a blank page is displayed. It should do nothing. Actual Results: Blank page is displayed instead of ignoring the link. Expected Results: Nothing. / link is ignored
Comment 1•24 years ago
|
||
*** This bug has been marked as a duplicate of 43652 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•