Simple DHTML
Simple DHTML
Out of context: Reply #11
- Started
- Last post
- 11 Responses
- neverblink0
another way would be to use 'parent' (assuming the wrapper div is the parent of the h2, and the a is a child of the h2)
this.parent.parent- Thanks nb... do you think this would be a better way of doing it?Dancer
- it might be a tad quicker (not noticeable), but getElementById is more general and can be used in almost any situationneverblink
- any situation..neverblink