Hello fellow forumers,
I have a form that has some text in it that the user might think is editable, however it is not. It is placed in a field that looks like a text input, but it is not an input field. A problem occurs when the user thinks its a text field, selects the text (because the browser allows them too) and they press the back button. The user expects to see the text disappear, however the browser’s back function is initiated, taking the user to his/her previous page. This can be potentially annoying to the user.
Im wondering if this can be avoided, i tried a onclick=”this.blur()” on the element containing the text, but it didn’t work, then I tried onclick=”this.textNode.blur()” and onclick=”this.childNode.blur()”, but that didn’t work either.
Anyone have any suggestions?
Thanks,
db