jquery live()的使用
<html><head><script type="text/javascript" src="/jquery/jquery.js"></script><script type="text/javascript">$(document).ready(function(){ $("p").live("click",function(){ $(this).hide(); }); $("span").click(function(){ $("p").click(); });});</script></head><body><p>If you click on me, I will disappear.</p><span>我爱你</span></body></html>?