PHP toogle对象的可见性

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了PHP toogle对象的可见性相关的知识,希望对你有一定的参考价值。

function toggle(obj) {
	var el = document.getElementById(obj);
	if ( el.style.display != 'none' ) {
		el.style.display = 'none';
	} else {
		el.style.display = '';
	}
}

以上是关于PHP toogle对象的可见性的主要内容,如果未能解决你的问题,请参考以下文章