Set search filter back to readonly false

Set search filter back to readonly false

bbrindzabbrindza Posts: 215Questions: 51Answers: 1

I am using a Bootstrap modal when a DataTable row is click I need to set all input attributes of the modal to readonly true .

$('input').attr('readonly', true)

When the modal is closed, I set need set the DataTable search filter back to readonly false.

I tried this code, but it does not work.

$("#workOrderTable_1_filter label input").attr('readonly', false);

What am I missing.

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.