Hi
I'm trying to add an OPTION element to a SELECT element inside from VB
Dim oSel As HTMLSelectEleme nt
Dim oOpt As HTMLOptionEleme nt
Set oSel = mDoc.All("oSele ct")
Set oOpt = mDoc.createElem ent("OPTION")
oOpt.Value = "1"
oOpt.Text = "Option 1"
oSel.Add (oOpt)
But the code is wrong!
Any idea???
Dim
I'm trying to add an OPTION element to a SELECT element inside from VB
Dim oSel As HTMLSelectEleme nt
Dim oOpt As HTMLOptionEleme nt
Set oSel = mDoc.All("oSele ct")
Set oOpt = mDoc.createElem ent("OPTION")
oOpt.Value = "1"
oOpt.Text = "Option 1"
oSel.Add (oOpt)
But the code is wrong!
Any idea???
Dim