{
text3.value=Number(text1.value)/Number(text2.value)alert("The div is"+text3.value)
}
</script>
</head><body bgcolor="ivory"><pre>Firstnumber<input id="text1"type="text"><br>Secondnumber<input id="text2"type="text"><br><input id="Button1" type="Button" value="Add"onclick="add()">Result<input id="text3"type="text"></pre></body></html>
OUTPUT
0 comments:
Post a Comment