Hello All,
I am calling a javascrip function showHideAll as in the below code, the problem is that this.nextSibling always returns undefined.Please look at the following markup, by this.nextSibling I want to refer to teh next anchor tag <a>.
I am calling a javascrip function showHideAll as in the below code, the problem is that this.nextSibling always returns undefined.Please look at the following markup, by this.nextSibling I want to refer to teh next anchor tag <a>.
Code:
<a href="#" onclick="showHideAll(this.parentNode.parentNode,[b]this.nextSibling[/b]);return false;"><img src="./../resources/images/button_expcoll.gif; align="middle" width="9" height="10"></a> <a href="#" onclick="showHideAll(this.parentNode.parentNode,this);return false;">Expand All</a>
</a>