Is there another a way to concatenate a '#' character like I'm doing below?
radioButtonID = '#' + radioButtonID;
Is there another a way to concatenate a '#' character like I'm doing below?
radioButtonID = '#' + radioButtonID;
What's wrong with what you've got there? That should work.
Unless you're looking for a stringbuffer or something...
I suppose you could do something like this:
var radioButtonID = ['#', radioButtonID].join('');
Not very efficient, but this works:
radioButtonID.replace(/(.+)/,"#$1")