I would like to show a div based on the Onclick event of an link.
First Click - Show div1 Second Click - Hide remaining div\'s and Show div2 Third Click
The .toggle function in jQuery takes any number of argument functions, so the problem is already solved. See the docs under Events.