hi all
i have a little problem with operating on a web document - it has got two forms with the same name: something like:
i've created an IE.app object
and when i want to have one button clicked i use
but since there are 2 buttons called submit, and two form1's anything i try to do just seems to consider the first button (even though its name is written with only lower case letters)
my question is how could i emphesise which form or button my action should consider?
thanks in advance
i have a little problem with operating on a web document - it has got two forms with the same name: something like:
Code:
(...)
<form name="form1" method="post" action=[action1]>
<input type="submit" name="submit" value="button1" id="button">
</form>
(...)
<form name="form1" method="post" action=[action2]>
<input name="Submit" value="button2" id="button" type="submit">
</form>
(...)
i've created an IE.app object
and when i want to have one button clicked i use
Code:
oIE.document.all.form1.Submit.Click
but since there are 2 buttons called submit, and two form1's anything i try to do just seems to consider the first button (even though its name is written with only lower case letters)
my question is how could i emphesise which form or button my action should consider?
thanks in advance