Creating Line Breaks in Array String
I'm making a recipe program and have created the following array (this is only the important part):
var r = new Array();
r=new Array("Apple Pie","Dessert","5-6 Cooking Apples 1 1/4 Cups Granulated Sugar.");
I need a line break between the two ingredients and nothing is working for me - I tried \n and other stuff;<br> is interpreted as part of the string and <pre> didn't work either.
Any ideas would be greatly appreciated!!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread