Wednesday, July 31, 2013

Respond User i/p-HTML Program

Type ValueThen Click Outside The Field With Your Mouse

<html>
<script type="text/javascript">
function myprogram()
{
alert("We got a value of"+document.entry.data.value);
}
</script>
<form name='entry'>
<p>Type ValueThen Click Outside The Field With Your Mouse</p>
<Input type='text' Name='data' onChange='myprogram()'>
</form>
</html>

No comments:

Post a Comment