<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
$("#id0 tr:fist").css("fontSize","40");
$("#id0 tr:last").css("color", "red");
$("#id0 tr:gt(0):lt(3)").css("fontSize","28"); //大于:great than;小于:less than
});//语法错误;哪里错了???
</script>
</head>
<body>
<table id="id0">
<tr><td>姓名</td><td>成绩</td></tr>
<tr><td>tom</td><td>100</td></tr>
<tr><td>jim</td><td>99</td></tr>
<tr><td>lucy</td><td>97</td></tr>
<tr><td>lala</td><td>98</td></tr>
<tr><td>lily</td><td>97</td></tr>
<tr><td>平均分</td><td>98</td></tr>
</table>
</body>
</html>
返回到这里:
Sizzle.error = function( msg ) {
throw "Syntax error, unrecognized expression: " + msg;
我是在找不出哪里错了,求大神回答:
------解决方案--------------------
什么英文状态标点?
你原来写的:tr:fist写错了,是tr:first。我不是你用红色标出来了么?