2014年6月26日 星期四

[Javascript] Disable Parent Window






Disable function (javascript)




function toggleDisabled() {
el
= document.getElementById ('MainDiv');
el
.style.visibility = 'hidden';
}


Disable function (html)




<html>
<body>
<div id=MainDiv> Good Job </div>
</body>
</html>




Reference



  1. Disable Parent Window


Related Posts:

0 意見:

張貼留言