I have a text box, wherein 1 line of comma separated data is getting inserted successfully, but when clicked Enter to insert another similar line. It does nothing. It does not allow to add a new line of input data.
<div >
<div> <textarea id="qPA" name="qP" placeholder="Hello, help me pls"></textarea> </div>
</div>
CodePudding user response:
You can add rows="number_of_rows" and cols if needed
<div >
<div> <textarea id="quickPasteArea" rows="4" cols="50" name="quickPaste" placeholder="Paste parts list here"></textarea> </div>
</div>
CodePudding user response:
You can use <textarea></textarea>
tag for that.
<textarea name="textarea"
rows="5" cols="30"
placeholder="Comment text."></textarea>