hi everybody,
i need to link this html pages if i click submit button.It should fetch the textbox value to another html page

<html>
<head>
</head>
<body>
<form method=post action="g1.html">
<input type=text id="q" >
<input type="submit" name="submit">
</form>
</body>
</html>


<html>
<head>
</head>
<body>
<form method=post>
<input type=text id="q" value="">
<input type=submit name=submit value=Submit>
</form>
</html>

Recommended Answers

All 3 Replies

plssssssssss anybody reply me

What help do you expect on the Perl forum.

<HTML>
<BODY> Please type your name
<FORM NAME="myForm" >
<INPUT NAME="myTextBox"
TYPE="text">
<INPUT
TYPE="button"
VALUE="Click me"
onClick="alert ('Hello there ' + document.myForm.myTextBox.value)" >
</FORM>
</BODY>
</HTML>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.