I have a paragraph
<p id="one"/>
How can I write multiple lines of text to it. I want the output as
Line 1: input1
Line 2: input2
and so on where input1 is the text in the textbox.
I have tried this till now
$("#one").text("Line 1: " + $('#input1').text());