Is it possible to use or adapt jQuery\'s .select() to set a selection range on the entire contents of a div?
I have a div which has a series of labels, inputs, selec
If you want to select inside form elements. Use .focus() /.blur() and .val() functions.
.focus() /.blur()
.val()
$('input').focus(); //focus on input element $('input').val(); //return the value of input