toggle Method
Changes the Expanded state of the node to the opposite value from what it is currently. If the node is expanded, then it will be collapsed. If the node is collapsed, it will be expanded.
Syntax
ASP.NET Ajax Javascript (Specification) | |
---|
function toggle(
: Boolean
) : (Any); |
ASP.NET Ajax Javascript (Usage) | |
---|
var resultVar = instanceOfNode.toggle(Boolean); |