MS WebBrowser & JavaScript Radio Button
Hello everyone!
I got a problem with my Program. It's used to fill out JavaScript forms in Webpages, and uses the MS WebBrowser provided in my VB 6.0. It's my first Internet project, and I did quite well until now via learning by doing. My problem:
When a page has some radio buttons, they all have the same name, i.e.:
<INPUT type="radio" name="sex" value="male">
<INPUT type="radio" name="sex" value="female">
Usually, I access the form elements this way:
WebBrowser1.document.forms.FORMNAME.ELEMENTNAME.value="VALUE"
So normally, it would be
WebBrowser1.document.forms.userinfo.sex.value="male"
BUT THIS DOESN'T WORK...
Is there anybody who could help me? It's really urgent because it is for my teacher and I don't want to tell him I didn't manage it... So PLEASE help!!!!
Until then - Knele