I have a little jQuery function that is meant to automatically select text in an asp.net text box when it gets focus. However, the text in the text box gets selected, but im
It seems to be the mouseup event interfering. You'll notice if you click and hold in the form field then move outside of it to "mouseup" the selection sticks. Using mouseup instead of focus to trigger the select() method seems to work well:
See original demo for jQuery 1.3 - 1.8 compatible code.