Or add the line to the end of the script that's already there,
that will not produce conform XHTML though.
var myCars = new Array();
myCars = "Cadillac Eldorado"; // don't forget semi-colons
myCars = "Cadillac ESV";
myCars = "Cadillac Escalade EXT";
myCars = "Cadillac STS-V";
Then when you're don't inputting elements, you use document.write in the script tag. Or make another script tag and write document.write there. But in this case, there's no reason to do the latter. Here is your corrected code -- http://jsfiddle.net/nM7SL/