//调试函数$.dump();
jQuery(function($) {
/* 判断id是否为null */
$.idisnull = function(id)
{
return $$(id) === null;
&n
//调试函数$.dump();
jQuery(function($) {
/* 判断id是否为null */
$.idisnull = function(id)
{
return $$(id) === null;
&n
1 :eq()和nth-child()
看下面代码:
<SCRIPT LANGUAGE="JavaScript">
$(function(){
$("#selected-plays > li:eq(1)").addClass("a");
//等价于 $("#selected-plays > li:nth-child(2)").addClass(&