Clicking on a textbox in firefox does not give focus

I have a problem where none of the text boxes on my website can focus if you click on them. If you are viewing the items, you can enter data in the text box.

I have a simliar problem that may be related in IE where a click gives focus, but I cannot select any text Unable to select text in text boxes in IE9

This, however, works great with chrome.

This is an MVC.NET application using jquery

+3


source to share


1 answer


It turns out it was a rogue jQuery expression that was

(. SomeClass) .disableSelection ()



which disabled selection in every textbox on my site. The kicker is that IE and Chrome handle it one way, while Firefox is another way to make it look like a different error.

+5


source







All Articles