只读属性无法禁用使用jquery
这个问题在这里已经有了答案:
  禁用属性的值并不重要。  如果它位于属性列表中,则不管它是false还是true或空,该元素都将被禁用。  您需要删除该属性才能启用它。 
  使用$("#name").removeAttr('disabled')重新启用该元素。 
上一篇: the read only property is not able to disable using jquery
这个问题在这里已经有了答案:
  禁用属性的值并不重要。  如果它位于属性列表中,则不管它是false还是true或空,该元素都将被禁用。  您需要删除该属性才能启用它。 
  使用$("#name").removeAttr('disabled')重新启用该元素。 
上一篇: the read only property is not able to disable using jquery