Is there a way selecting MULTIPLE areas of text with JS in Chrome and/or IE?
问题 Firefox 3 can select MULTIPLE areas of text with JS. Is there a way doing this in Chrome and IE? I really tried to find a way to select of multiple textareas in a web page in Chrome and IE9. Infos at: http://help.dottoro.com/ljxsqnoi.php Example at: http://jsfiddle.net/t3sWz/ Code FireFox3.5+ only... (but this is the question): <html> <head> <meta charset="UTF-8"> <style> #trigger { background: yellow } </style> </head> <body> <p id="test"> This is some text you can highlight by dragging or