<!DOCTYPE html>
<html>
<head>
<title>equal</title>
<script type="text/javascript">
var i;
i=0;
for (var i = 1; i < 4; i++)
{
var s1="Savera";
var s2=prompt("enter the string")
if (s1==s2)
{
alert("string is equal")
}
else
{
alert("string is not equal")
}
}
</script>
</head>
<body>
</body>
</html>
No comments
Welcome to saveracom.blogspot.com