JQuery教程---隐藏*显示
<html><head><script type="text/javascript" src="/jquery/jquery.js"></script><script type="text/javascript">$(document).ready(function(){ $("#b1").click(function(){ $("p").hide(1000); });$("#b2").click(function(){$("p").show(1000);});});</script></head><body><button id="b1" type="button">隐藏</button><button id="b2" type="button">显示</button><p>This is a paragraph with little content.</p><p>This is another small paragraph.</p></body></html>