I know you might think this is a duplicate or a dumb question. But the answers doesn\'t help me.
Here\'s my simple problem:
var option1 = \"some text
change your loop to look like this:
for(var i = 1; i < 4; i++) { alert(eval("option"+i)); }
Let me know if you have any questions