The most viewed items
<!DOCTYPE html>
<html>
<head>
<title>JS Code Testing</title>
</head>
<body>
<button id = "myId">Try It</button>
<script>
var x = document.getElementById("myId");
x.addEventListener("click", myFun1);
x.addEventListener("click", myFun2);
function myFun1(){
alert("Function1");
}
function myFun2(){
alert("Function2");
}
</script>
</body>
</html>
No comment to show.