alvis
10-19-2005, 11:37 PM
I want to select the text put into a textbox. I seem to keep getting it wrong what is my problem??
<html>
<head>
<title>
</title>
<script type="text/javascript">
function function1()
{
document.write("Welcome "+text)
}
</script>
</head>
<body>
<form onsubmit="function1()">
<input type="text" name="text" id="text" value="Enter Name">
<input type="submit" value="Send">
</form>
</body>
</html>
Thanks guys
<html>
<head>
<title>
</title>
<script type="text/javascript">
function function1()
{
document.write("Welcome "+text)
}
</script>
</head>
<body>
<form onsubmit="function1()">
<input type="text" name="text" id="text" value="Enter Name">
<input type="submit" value="Send">
</form>
</body>
</html>
Thanks guys