Log in

View Full Version : Toggle



123456
02-11-2008, 01:17 PM
I have two objects in my page and two buttons, I want to hide the first object when I click on the first buton and hide the second when I click on the second button. And again if i click on that button the oblect should be visible. Could you please provide me with a HTML/JavaScript code for this?

molendijk
02-11-2008, 03:41 PM
http://www.dynamicdrive.com/dynamicindex17/switchcontent2.htm

Arie Molendijk.