...

View Full Version : Select any element



Wilhelmi
06-22-2009, 01:48 PM
Hi,

It is possible to make a script that hides the element clicked and this way hide the items I want. I wonder: is there any tool that would help identifying the element I want to work on? I.e. give me the code for selecting it.

Thanks!

A1ien51
06-22-2009, 03:53 PM
Play with this


window.onclick = function(e){
e = e || window.event;
var elem = e.srcElement || e.target;
alert(elem.innerHTML);
}


Eric



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum