Prototype Selector : simple examples
Posted
by kevinb92
on Stack Overflow
See other posts from Stack Overflow
or by kevinb92
Published on 2010-04-27T13:07:07Z
Indexed on
2010/04/27
13:33 UTC
Read the original article
Hit count: 198
Hi, i'm just starting prototype, i was on jquery before.
I can't find easy examples on the internet about how :
- Selecting all elements having the same id on a page (i'm doing this but it only works for the first element : $('mydiv').hide() )
- Selecting a div that is contained in another div by their id.
- hiding all elements that have myClass class.
© Stack Overflow or respective owner