Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes adding rows to textfield in html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "adding rows to textfield in html" Watch "adding rows to textfield in html" New topic
Author

adding rows to textfield in html

puja shaw
Ranch Hand

Joined: Nov 06, 2012
Posts: 32
can anybody please tell me how to add multiple rows to a textfield in html?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10170
    
    8

You can't. Text field is essentially single line. Use text area instead


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
Consider Paul's rocket mass heater.
 
subject: adding rows to textfield in html
 
Similar Threads
Some confusing ones part 3
Boone #50
Update row while changing noneditable textfield to editable field.
Problem with column editor in JTable
Table in Oracle to JTable