导航

jQuery使用

Posted on 2015-09-27 21:21  powerlx  阅读(106)  评论(0编辑  收藏  举报

先引入jQuery,然后

 

<scripts>

$(selector).action();

 

$(document).ready(function(){

//  alert(" 加载完成!");

$("p").click(function(){

  $(this).hide();

});

});

 

 

</scripts>