Define function in JavaScript : Function : Language Basics JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Language Basics » Function »

 

Define function in JavaScript



<html>
<head>

<script type="text/javascript">
function myfunction(){
    alert("HELLO")
}
</script>

</head>
<body>

<form>
    <input type="button" onclick="myfunction()" value="Call function">
</form>


</body>
</html>



           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Language Basics
» Function