What\'s the best way to make an element unselectable using jQuery?
I know you can use onselectstart=\"return false;\" ondragstart=\"return false;\" in the H
onselectstart=\"return false;\" ondragstart=\"return false;\"
$('.noselect').live('selectstart dragstart', function(evt){ evt.preventDefault(); return false; });
Just bind the event to a live, and return false, or prevent default.