Forum Moderators: open

Message Too Old, No Replies

Submit form problem with Firefox

         

mattastic

10:43 am on Jul 19, 2005 (gmt 0)



Hi,

I'm using asp to log in users to my intranet.

problem is this code doesn't seem to work in firefox, can anybody help?

<form action="http://www.bbc.co.uk" name="addform" method="post">
<input type="hidden" name="addy" value="<cfoutput>#add#</cfoutput>">
</form>

<script language="javascript">
document.addform.submit();
</script>

Birdman

11:55 am on Jul 20, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Maybe try accessing the form this way:

document.forms['addform'].submit();

or

document.forms[0].submit();