javascript - The displayed attribute of select cannot be removed under IE9/10
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-19 10:20:24
0
2
479

The above is a select, and its attributes are set to read-only by default. Now I think this is only readable. It can be used in other browsers, but it cannot be used in IE9/10. Please tell me. How to set this up

I have tried the following methods
$('#areaSelect').attr("disabled",false);
$('#areaSelect').removeAttr("disabled");
$('#areaSelect').attr("disabled","");

Will not work. . . .

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(2)
漂亮男人

Try using the native one

曾经蜡笔没有小新

$('#areaSelect').prop({disabled:false});

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template