Set readonly property with javascript by .prop instead of .attr
This commit is contained in:
parent
98f59a3de3
commit
2ec3d38238
1 changed files with 1 additions and 2 deletions
|
@ -62,8 +62,7 @@
|
|||
}
|
||||
|
||||
function unlock_receive_input_field() {
|
||||
var order_article_entry = $(this).closest('tr');
|
||||
$('.units_received', order_article_entry).removeAttr('readonly');
|
||||
$('.units_received', $(this).closest('tr')).prop('readonly', false);
|
||||
$(this).remove();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue