I have 2 divs which and I want to be able to toggle between them onClick of a button (currently using .toggle();)
The div that shows on the page is div1. This div has th
I would use .toggleClass() as toggle switches between display: inline; and display: block;
display: inline;
display: block;
Create a hidden and inline class and just toggle those.