ToggleButton « Dojo toolkit « JavaScript DHTML






1.Use toggle button and tool bar, add icon to toggle button
2.Toggle button on change event
3.Add toggle button to tool bar