I\'ve a textbox with readonly=\"readonly\" that means I can not edit it. But what I want is to make this textbox editable when user double clicks on it.
readonly=\"readonly\"
Wha
as above pure javascript example by sarfraz try to make your javascript unobtrusive much better practice
Also as a lot of people do if you have jquery on page now you can use that to do same
In jquery
$('#txt').removeAttr("readonly");