$("input[@name=listingStatus][@value=Sold]").attr("checked", true);
选取value=Sold的 name=listingStatus的复选框
这个在Jquery1.2可以正常运行
在1.4的话,就报错了在1.4中,应该怎么改呢?