jquery remove readonly

JavaScript
$('#id').removeAttr('readonly');

// or
$('#id').attr('readonly', false);
Source

Also in JavaScript: