|
-
June 3rd, 2001, 05:09 PM
#1
HTML INPUT TYPE=TEXT???
I was wondering how to code html input text boxes. I need to know how to do multiline and scrollbars. And if possible selecting the text.
I've looked through MSDN and can't find nothing that I want. I trying to build a HTML/ASP form; the 1st page will be the client form, 2page will be a varify page and the 3rd would insert records into a database.
Thanks,
<IMG SRC="smilies/confused.gif" border="0">
-
June 3rd, 2001, 11:44 PM
#2
-
June 4th, 2001, 02:15 AM
#3
Just for the others out there, the answer is not to use an Input box as this only allows single lines.
You need to use a TEXTAREA which allows you to specify the number of rows and columns for you text box and any default text in the box:
Code:
<textarea cols="40" rows="6">
Type your reply here...
</textarea>
You can always drop in some JavaScript code to select all the text when the textarea box gets the focus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks