Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Clicking on a textbox in firefox doesn't give focus

I have the problem where none of the textboxes in my website can get focus if you click on them with the mouse. If you tab through the items, you can enter data into the textbox.

I have a simliar issue that may be related in IE where clicking gives focus, but I am unable to highlight any of the text Unable to highlight text in textboxes in IE9

This however works perfectly fine chrome.

This is a MVC.NET app using jquery

like image 516
Mark Hosang Avatar asked Dec 06 '25 09:12

Mark Hosang


1 Answers

Turns out it was a rogue jquery statement that was

(.someClass).disableSelection()

that was disabling selection on every single textbox in my site. The kicker being that IE and Chrome handled it one way and Firefox a different way making it seem like a different bug

like image 140
Mark Hosang Avatar answered Dec 07 '25 21:12

Mark Hosang



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!