Over a million developers have joined DZone.

Toggle Display

·
// Just use this to toggle the display of your tag between "none" and "block"


function ToggleDisplay(source) {
	obj = getElementById(source);
	obj.style.display = (obj.style.display=='block')?obj.style.display='none':obj.style.display='block';
}
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}