jQuery Test

<html>
  
<head>    
    
<script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript">
    $(document).ready(
function(){
    $(
"a").click(function(event){
       alert(
"Thanks for visiting!");
    
return false;
     });
    });
    
</script>
  </head>
  <body>
    
<a href="http://jquery.com/">jQuery</a>
  </body>
</html>

posted on 2008-12-19 18:57  王丹小筑  阅读(329)  评论(0)    收藏  举报

导航