Avatar of starfailure
starfailure
Flag for United States of America asked on

Javascript- bulleted list question

Hi folks.
How can I transform a javascript array:
Array("line 1", "line two", "line three (3)", "line 4 (four)");
into a bulleted list in HTML?

..and to make things just a little more complicated, I'm trying to put the list inside a TEXTAREA of a FORM.
JavaScript

Avatar of undefined
Last Comment
knightEknight

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
knightEknight

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
starfailure

ASKER
Thanks, knightEknight.
That's actually what I was using, but didn't know if there was a simple way to implement LI.  I'll just see if I can find a symbol to use as a bullet.
knightEknight

how about this one:  ∙

    str += "∙ " + ary[i] + "\n";

All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck