Can I check if a value in a text input is selected or not using javascript?
This image shows an unselected text input: http://image.ohozaa.com/i/ee0/Sn5ZWI.jpg
And this shows one that has selected text: http://image.ohozaa.com/i/1dd/mOdGCt.jpg
How can I use javascript to check this?