197
rated 0 times
[
199]
[
2]
/ answers: 1 / hits: 19261
/ 14 Years ago, mon, march 7, 2011, 12:00:00
function selected() {
var selObj = window.getSelection();
}
This function returns selected text from a webpage. How do return the html of a selected area. Is this possible to do with an <img>
and an <a>
tag?
Here's the list of functions:
https://developer.mozilla.org/Special:Tags?tag=DOM&language=en
More From » jquery