For a website I\'m doing, I want to load one div, and hide another, then have two buttons that will toggle views between the div using JavaScript.
This is my
Using style:
Using an event handler in JavaScript is better than the onclick="" attribute in HTML:
onclick=""
View Portfolio View Results div1 div2
JavaScript:
jQuery may help you to manipulate DOM elements easy!