-
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">
-
-
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.