How can I get text at mouse position? I have now some like this
document.body.onmousemove = function(){
//todo:Get text at mouse position
}
How can I get text at mouse position? I have now some like this
document.body.onmousemove = function(){
//todo:Get text at mouse position
}
One way of doing so is using [PrototypeJs][1]
Try this one let me know if there is any problem
$(document.body).observe('click', respondToClick);
function respondToClick(event) {
var element = event.element();
var source = element.innerHTML;
}