Possible Duplicate:
Unselect what was selected in an input with .select()
I know there are functions for specific tags like option, checkbox etc.. but those are not the ones i am looking for.
I need reverse of this:
http://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_event_select_trigger
When i trigger the event the selected text, image, area should be unselected.
Is there a function like unselect ?
Problem can be seen here:
So far i have tried those but not worked:
jQuery('.es-nav-next, .es-nav-prev').click(function(){
// jQuery("btn btn-large btn-primary").focus();
// jQuery(this).stop(true, true).delay(600).hide().delay(600).fadeIn().blur();
jQuery("#falseselect").select();
document.selection.emtpy();
window.getSelection().empty();
jQuery(this).blur();
});