Forum Moderators: open
In the following, a renders as the number output, OK:
alert('first choice ' + a )
But I'm stumped in extending the alert to include 'second choice ' + b , and 'third choice ' + c.
No matter what kind of separators are used (so far), single quotes, brackets, semicols, the variables a b and c turn into literals; and every character inside the outermost enclosing quotes is also rendered.
The three choices are also separated by \n\n but that doesn't seem to be the problem. Missing something here...