A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
how to know object type?
Joined: Oct 11, 2004
Jun 15, 2006 06:30:00
We usually get any object in JS like:
How can we know, whcih object it is??
[ June 15, 2006: Message edited by: Bear Bibeault ]
Joined: Nov 08, 2001
Jun 15, 2006 07:49:00
What do you mean which object? You talking if it is a div or span? Wouldn't you know what it is to begin with?
[ June 15, 2006: Message edited by: Eric Pascarello ]
Joined: Mar 21, 2006
Jun 15, 2006 07:52:00
If you want what is the element type,
this might help you.
However, I have never found any use of it till now.
I agree. Here's the link:
subject: how to know object type?
2D Line & setCursor
Question on threads
eligible for garbage collection
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015