Dynamically creating a radio button using eg
var radioInput = document.createElement(\'input\'); radioInput.setAttribute(\'type\', \'radio\'); radioInput.se
Personally I wouldn't create nodes myself. As you've noticed there are just too many browser specific problems. Normally I use Builder.node from script.aculo.us. Using this your code would become something like this:
Builder.node('input', {type: 'radio', name: name})