[Solved] Why form input of type text is disabled or read-only


When a click or focus event is handled by javascript, and the javascript returns false, this will make the text box appear to be disabled.

Have the handler return true instead of false to allow the event to occur.

solved Why form input of type text is disabled or read-only