jQuery <1.9 $('#inputId').attr('readonly', true); jQuery 1.9+ $('#inputId').prop('readonly', true); Подробнее о разнице между prop и attr.
確定! 回上一頁