Simplest function : Function : Language Basics JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Language Basics » Function »

 

Simplest function



<html>
<head>
<script language="JavaScript">
<!--
function TestFunction() {
  var localVar = "Hello";
}
alert(localVar);
//-->
</script>
</head>
</html>

           
       



-

Leave a Comment / Note


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

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Language Basics
» Function