作者a613204 (胖胖)
看板Ajax
标题Re: [问题] jQuery在IE上
时间Sat Dec 1 13:19:47 2012
大家好 昨天我原本也有想到是selector的问题
但後来发现不是
很诡异的是 我对 input type=text 的元素集合设定disabled才会很卡
但是 input type=checkbox 就不会这样
$("input[name='checkbox[]']").attr("disabled", "disabled")
$("input[name='text[]']").attr("disabled", "disabled")
速度会差非常多
上述所说的情况是在IE6/IE7 其他浏览器都感觉不出来卡卡的
有没有人有其他看法?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 180.218.6.70
1F:→ a613204:感谢grence大大 我会再查一下你说的 repiant 12/01 13:25