How can I select text when I mouse over a div?
+1
A:
If you mean selecting the text as if you dragged over it, read this question. Whichever approach you try, to make it happen on mouseover, use .mouseenter():
$('#mydiv').mouseenter( function(){
my_superduper_selection_function(this);
});
Ken Redler
2010-09-06 05:35:44