alert($(".notExists").val() == null);
结论是 true,也就是说 jQuery 对不存在的元素调用 val() 结果是 null。
创建于2005年 渝ICP备05010272号-1
电邮:cftea@126.com