Hi all,
I am dynamically creating a table rows and inerting radio buttons which
are also dynamically created. Everything works fine in Firefox as
expected. But I am not able to select radio buttons in IE. It does not
even throw any errors. I have searched over the net but could not find
anyhelp. Hope some experts here could help me.
Here is part my code that dynamically generates the radio buttons, I
cannot paste the entire code as it is very huge.
var n = 0;
var row = table.insertRow(table.rows.length);
var cell = row.insertCell(row.cells.length);
cell = row.insertCell(row.cells.length);
var radio = document.createElement('input');
radio.setAttribute('type', 'radio');
radio.setAttribute('name', 'test'+n);
radio.setAttribute('value', 'test123');
radio.setAttribute('onclick', "this.form['test"+n+"'].disabled =
true;");
cell.appendChild(radio);
cell = row.insertCell(row.cells.length);
Any help really aprreciated.
thanks,
Sam