参照的jQuery1.8.0真是蛋疼死了,在1.8.0里面属性不需要“”,$("#content").css({background-color:"red",color:"white"});
2015-08-19
$(function () {
$("#btntest").bind("click", function () {
$("div").toggle()
});
});
$("#btntest").bind("click", function () {
$("div").toggle()
});
});
2015-08-19
<script type="text/javascript">
$(".red,.green").html("hi,我们的样子很美哦!");
</script>这样足以
$(".red,.green").html("hi,我们的样子很美哦!");
</script>这样足以
2015-08-19