I am trying to develop a rudimentary graphing program which uses the
eval() function to execute some innerHTML and getElementById. I can
reflect strings so that you can type something into a field and have it
immediately reflected, but have no such luck with splitting that string
into an array dynamically and having that reflected.
I'd like to have it take the string typed into a text field, split that
along commas in the string into an array, then pass that array as a
variable to a parameter in another function. I can declare the data
(heights of a bar graph) by hard-writing it into the code, which works
fine, but have yet to have any luck on making it respond to client-side
input. It seems like this could be done. I'd greatly appreciate any
advice from those more experienced JS.