Help trying to get a line break between radio buttons
I tried using the search function, but the hour glass just stated as an hour glass for an hour so I gave up - sorry
Code:
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
Code:
name="ParentNodeKey"
Then the radio buttons become clickable
Therefore, how do I dynamically create radio buttons in VBS?
Thanks,
Tricia