Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a href="javascript:monkey_alert()">Click me</a>
- <a href="#" onclick="monkey_alert()">Click me</a>
- <a href="#" id="monkey_link">Click me</a>
- // in monkeyscript.js (using jQuery library; different syntax for Prototype):
- $('#monkey_link').bind('click', monkey_alert);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement