« Return to the blog entry
Thanks Jake. It's handy Tip.
If you're using Protoype v1.5, the toggle() function is available to us. Just call it from the OnClick event, like below:
if(this.value == 'Pink') $('underneath').toggle()
Thanks Jake. It's handy Tip.
If you're using Protoype v1.5, the toggle() function is available to us. Just call it from the OnClick event, like below:
if(this.value == 'Pink') $('underneath').toggle()