Closed Bug 5412 Opened 26 years ago Closed 26 years ago

Javascript URLs don't seem to work

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 1646

People

(Reporter: andyc2000, Assigned: joki)

Details

If I have a javascript URL for the HREF attribute of an anchor tag, clicking on it doesn't seem to do anything. Here's a simple repro: <html> <head> <script> function Foo() { alert("hello"); } </script> <body> <a href="javascript:Foo()">Click here</a> </body> </html>
Assignee: norris → joki
Component: JavaScript → Event Handling
QA Contact: 4590 → 4015
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 1646 ***
Status: RESOLVED → VERIFIED
Status changed to Verified.
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.