jquery
public html v1 · immutable <html> <head> <style type="text/css">a.test { font-weight: bold; } </style><script type="text/javascript" src="http://code.jquery.com/jquery-svn.js"></script> <script type="text/javascript">$(document).ready(function(){ // Your code goes here $("a").click(function(){ alert("Thanks for visiting!"); return false; }); $("a").addClass("test");}); </script> </head> <body> <a href="http://jquery.com/">jQuery</a> </body> </html>