<script type="text/javascript">
$("li:first++++").css("background-color", "red");
</script>
$("li:first++++").css("background-color", "red");
</script>
2015-02-11
应该是
<script type="text/javascript">
var $redHTML = $(".red").css();
$(".green").html($redHTML);
</script>
<script type="text/javascript">
var $redHTML = $(".red").css();
$(".green").html($redHTML);
</script>
2015-02-10