Hi,
My Requirement is to find all "Immediate" children of a Div with Id as "stackContainer" having the class as "stack"
if i am able to get the collection as an array, i could loop through it and get the class name of each element,
What i thought was browsers had an inbuilt functionality
Here is what i have attempted so far :
Outputs :
IE7 :
first alert: 2
second alert: children 2
Firefox :
first alert: 5
No second alert
Chrome :
first alert: 5
second alert: children 2
Going out of the topic, why do browsers even differ in implementations of Javascript ?? !!!
or am i using the wrong collection object ?
Actually, i am thinking of making a stack like control (similar to outlook's Personal/calender/todo @ LHS) however, i got stuck up in Step 1 !!
I am a newbie javascript developer