View Full Version : How can we get the randomly selected text and image on mouse event in JavaScript?

08-27-2010, 01:50 PM
want to get selected text and image values .Since there is an randomly changed text and image on my page.I used window.getSelection() but this will return only selected text values not images ..so please guide me to solve this problem.