optikalefx Posted March 15, 2008 Share Posted March 15, 2008 so we go ahead and do document.addEventListener('click',myfunc,true); and then we do function myfunc(e) { and we can do alert(e.target.property) } so what i need to be able to do, is find out what font the text you click on is. and element.style.fontFamily wont work if there is no fontFamily present. So that means its in default font. which is what? javascripts gotta have something up its sleve (btw, same problem for font size, how do i know what size something is) Link to comment https://forums.phpfreaks.com/topic/96249-find-out-what-font-somethings-is/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.