javascript - Jquery .select() for other html elements -


how can leverage same functionality of .select() elements other textboxes such list elements?

edit: clarify, i'm not looking retrieve selected text, want make such key combo trigger selection of list elements example.

well while w8ting answer found plugin seems work perfectly

http://mark.koli.ch/2009/09/use-javascript-and-jquery-to-get-user-selected-text.html

if want selecting part there plugin here

http://www.ryantetek.com/2010/02/selecting-text-inside-html-elements-with-jquery/


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -