do ids like gender[male] cause problems in javascript?
Posted: Wed Dec 27, 2006 1:03 pm
If I have a form field with an id of "gender[male]". Will it cause any problems that I should know about when trying to work with it's value via javascript?
and that sort of thing... (obviously my question pertains to more than just that example, but it gives you an idea of what I mean).
Code: Select all
var gender_male = document.getElementById('gender[male]');