I tried using the search function, but the hour glass just stated as an hour glass for an hour so I gave up - sorry
So here is my problem,
I am trying to dynamically create radio buttons, using the function
Set MyRadio = CreateElement("input")
With MyRadio
.id = "ParentNodeKey"
Call .setAttribute("type", "radio") ' PR - The setAttribute() method adds a new attribute.
Call .setAttribute("name", "ParentNodeKey")
Call .setAttribute("value", CurNodeType.key)
End With
However, the code does not write the name attribute to the 'MyRadio', thus, the code is useless and unclickable.
If I Manually write within the input tag of the HTML code
name="ParentNodeKey"
Then the radio buttons become clickable
Therefore, how do I dynamically create radio buttons in VBS?
Thanks,
Tricia
<message edited by scooble on Tuesday, February 07, 2012 4:02 AM>