using Function

Function


<html>
<head>
<script>
var value=50;//global variable
function a(){
alert(value);
}
function b(){
alert(value);
}
a();
</script>
</script>
</body>
</html>  

Comments

Popular posts from this blog

java script book in PDF format