$("#myinputfield").focus();
Doing that on an input field with it's value already set causes the current value to be selected. How can I focus the field without selecting the text?
I've searched around a bit and kinda found out that you should re-set your value into the desired field after it is focussed on.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With