Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var frame = document.getElementById("iframe");
- var select=frame.contentWindow.getSelection(); //get the selected text in iframe
- alert(select); //alert selected text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement