基本用法:
<script type=\"text/javascript\">$(document).ready(function(){ $(\"button\").click(function(){ $(\"p\").slideToggle(); }); $(\"p\").dblclick(function(){ $(\"button\").click(); });});</script>
点击运行方法:
<button id=\"start\" οnclick=\"activeLoad();\">开始</button>$(function(){$(\'#start\').click(function(){activeLoad();})})$(function(){$(\'#start\').on(\"click\",function(){activeLoad()})})
转载于:JQuery/3427060