事件
事件绑定方法
<script src="jquery.js"></script>
<script>
//方法1
// $("#d1").click(function () {
// $(this).css({"background-color":"green"});
// });
//方法2
$("#d1").on("click",function () {
$(this).css({"background-color":"green"});
})
</script><script src="jquery.js"></script>
<scrip