My question is the same as the question stated in adding <br/> to the text-box when user press enter key in jquery
I am getting br but I want to hide the <br> character when user press enter I dont want to display <br> in the text box.
By textbox, I assume you're talking about a textarea. Then you should be adding a \n instead of a BR.
after the user submits the form? I don't think you'll be able to hide the input without some serious hacking. – enriquein Mar 29 '11 at 04:46