I have the following problem, I have an input with the readonly
attribute. When clicked on it it is selected. I needed to prevent this because I have a function using onblu
r that can only work when input is not in readonly
.
<input type="text" readonly="readonly" onblur="alert('teste')">