<input readonly ondblclick="this.readOnly=false" onchange="this.readOnly=true">
代码奉上,有问题可以留言或者联系我!