• This project
    • Loading...
  • Sign in

황진하 / 2017-1-WebServiceProgramming-2012104136

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Graphs
  • Network
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • 2017-1-WebServiceProgramming-2012104136
  • 11_jquery
  • 00.html
  • 황진하's avatar
    수업 자료 추가 · 5de4926b
    5de4926b Browse Files
    황진하 authored 2017-03-09 11:36:59 +0900
00.html 378 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<!DOCTYPE html>
<html>
<body>

<p>An unordered list:</p>
<ul>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>

<button onclick="myFunction()">Hide List</button>

<p id="demo"></p>

<script>
function myFunction() {
    var divs = document.getElementsByTagName("LI");
    for (i=0; i<divs.length;i++) {
    	divs[i].style.display = 'none';
	}

}
</script>

</body>
</html>