thought I'm in a javascript thread...
The big picture: I'm developing a form validation component with javascript. Within the .asp page which contains the html for the form as well, I create a validator object and add explicitely validations for a specific field. This specification happens through the input item's name. With this approach (maybe betters already though?) I will have to search in the .
js file with the item's name to get the input object itself.
Now my doubt: by checking against the type == "undefined" (see code above) I do not feel comfortable to identify a radiobutton group...