Disable and enable a text input in Firefox


/ Published in: JavaScript
Save to your folder(s)

I just noticed in Firefox 3.5.2 that setting `disabled = true` for a focused text input seems to make it impossible to re-focus after setting `disabled = false`. The solution is to blur it before disabling.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.