Actually, this worksforme as well:
<html>
<table>
<form name="wyszukaj" action="http://www.uml.lodz.pl/indeksik.php3?menu2=11&zapytanie=11,\
45" method="post">
<tr><td><input size="10" name="szukaj" value="wybory"> <input type="submit" \
value="Szukaj"></td></tr>
</form>
</table>
<script>
function foo() {
document.getElementsByTagName("input")[1].click();
}
</script>
<input type="button" onclick="foo()" value="Click here to call click()"> </html>
So does copying the form off the site...
Do you have a testcase actually showing the problem?
-Boris _______________________________________________ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding