Horje
how to make javascript make things disappear Code Example
how to make javascript make things disappear
<html>
<script type="text/javascript">
<!--
    function toggle_visibility(id) {
       var e = document.getElementById(id);
       if(e.style.display == 'block')
          e.style.display = 'none';
       else
          e.style.display = 'block';
    }
//-->
</script>
<body>
<a rel="nofollow" href="#" onclick="toggle_visibility('foo');">Click here</a>
<div id="foo">This is foo</div>
</body>
</html>




Javascript

Related
short date angular pipe Code Example short date angular pipe Code Example
fs in angular Code Example fs in angular Code Example
javascript disable enter key Code Example javascript disable enter key Code Example
js add click listener Code Example js add click listener Code Example
angular date formats Code Example angular date formats Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10