The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Hey, wasn't commenting on your English (my Portuguese is non-existent) ..., just the concept of using a class name to locate an object. Noticed your earlier thread; you should keep that one alive, since it seems to be the same issue. Is your id "active" - or the class name? Can't use a number for an id.

I don't know, I just live around here. Actually, it's a general concept, to keep various code parsers from confusing strings with actual numbers.

Post what you've got so far, maybe with a description of exactly what you're trying to do. All this "id parsing" is almost always the wrong way to go about this: using Objects is the more logical approach.

...
in the code above i have an onLoad function, that sends an alert box, what i wanted was for it to display the id of the Div wich has class="active"...(copy the code and test it)...
if i can do this... then my problem is solved...