I Have some script that creates radio buttons, it works fine in IE but not in FF.
The problem is that I can't seem to select the radio button, I click on it but it doesnt become checked. Here is a snippet of my code
field is a cell object I created earlier in the script. I get no errors in IE it just doesnt allow me to select the object.
Thanks!
The problem is that I can't seem to select the radio button, I click on it but it doesnt become checked. Here is a snippet of my code
Code:
var formComponent = document.createElement("input");
formComponent.setAttribute('type', 'radio');
formComponent.name = 'external';
formComponent.value = 'both';
field.appendChild(formComponent);
// Create a label for the radio button
var componentLabel = document.createElement("label")
componentLabel.innerHTML = 'Yes';
// Append it to the field
field.appendChild(componentLabel);
field is a cell object I created earlier in the script. I get no errors in IE it just doesnt allow me to select the object.
Thanks!