Textbox issue, text entered in textbox should be displayed in confirm() command |
Textbox issue, text entered in textbox should be displayed in confirm() command |
Abhijith |
Aug 12 2007, 02:44 PM
Post
#1
|
Group: Members Posts: 2 Joined: 12-August 07 Member No.: 3,545 |
Here's the code
QUOTE <BODY> <script LANGUAGE="JavaScript"> <!-- function myclick(){ confirm("Do you want to Submit"+ 'lname'); alert("Submitted");} //--> </SCRIPT> First Name: <INPUT TYPE="text" NAME="fname"><br> Last Name: <INPUT TYPE="text" NAME="lname"><br> <INPUT TYPE="submit" value="Submit" onclick=myclick()> </BODY> In the confirm function I want to display both the First name and Last name... please help!!! |
Lo-Fi Version | Time is now: 19th April 2024 - 06:50 PM |