.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Post New Resource Bookmark and Share   

Java script using Equal Operator

Posted By:NATHAN ISRAEL       Posted Date: September 30, 2012    Points: 40    Category:    URL: http://www.dotnetspark.com  

Java script using Equal Operator
 

<html>
<head><title>Sample JS_03</title>
</head>

<body>
    
    <script language="Javascript" type="text/javascript">
    <!--
            // Operators
            var s;
            s=10;
            
            if(s==10)
            {
                document.write("I am 10");
            }
                else
            {
                document.write("Nice");
            }
    //-->
    </script>
    
</body>

</html>

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend