我们知道 $("#id") 是经 jQuery 包装过的,并不等效于 document.getElementById(),所以 $("#id").tagName 会出错。如何返回 DOM 对象呢?
创建于2005年 渝ICP备05010272号-1
电邮:cftea@126.com