I am using AJAX to submit a form, and would like to display a summary of the information on the page so that the user can confirm the information before submitting. I am hav
You need to insert tags or insert \n and then put the content in pre tag. Remeber you are injecting this content into an html DOM so html rules still apply :-)