剛剛在整合不同版本下寫的 jQuery code統一到新版本,在IE下碰到莫名的錯誤,追了一下原來踩到雷了。
引用jQuery .attr()的說明:
Note: Internet Explorer does not allow you to change the
引用jQuery .attr()的說明:
Note: Internet Explorer does not allow you to change the
type attribute of an <input> or <button> element. 