I am attempting to make an alert popup box with user entered text and a static text. "Welcome to the site" would show on the popup box each time with the user text that they input, such as "Corngopher". I have the user part and the alert done but cant get the static text to appear. Heres what I have...
<form name="frmLogin" onsubmit="alert(document.frmLogin.txtUsername.value)">
Username <input type="text" name="txtUsername" size="12" /><br />
<input type="submit" value="Send" />
It has a little place to type your name and a Send button. Whne I click send, I get whatever the person typed in the box. I just need to get "Welcome to the site" and a single space to show before the user text shows on the pop up box.
Hope it made sense :) and thanks for any help.
Last edited by Corngopher; 11-19-2004 at 02:22 PM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)