|
|
| Is there a way of getting a collection to all DIV elements on a website that works in all (most) browsers? |
| Document.getElementsByTagName('div') |
| That works in ff too? |
| Tias |
| Does javascript have hash lists? |
| No |
| That allows strings as indexes |
| But you can create objects which work similarly |
| how do i define an object |
| Simplest way is var x = { 'key' : value, 'key2' : value2 }; |