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

Set the variables to different values and different operators and then try...

auto redirected page in java script