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)
Tracking
()
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>
Updated•26 years ago
|
Assignee: norris → joki
Component: JavaScript → Event Handling
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•