Write a JavaScript program to demonstrate intrinsic functions.
<html>
<head>
<title>Demonstrate use of intrinsic functions</title>
<script>
function call()
{
with(document.forms.contact)
{
email.readonly=false
email.value="f.l@gmail.com"
}
}
</script>
</head>
<body>
<form name="contact" method="post">
First Name<input type="text" name="fname" onchange="call()"/><br/>
Last Name<input type="text" name="lname" onchange="call()"/></br/>
Email ID<input type="text" name="email" readonly=true/></br/>
<input type="submit" value="Submit"/>
<input type="reset" value="Reset"/>
</form>
</body>
</html>
