[thelist] Having a Javascript "document.submit" Error

Anthony Baker lists at thinkbigideas.com
Wed Jan 29 19:04:05 CST 2003


Anyone ever have this problem -- and ideally a solution?

I have a page with multiple single-item PayPal forms on
it, and am using the following code for the <form> tag:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post"
name="paypal_moneymoxie">


And the following code for the submit button (also using Youngpup's
Soopa-Rollover JavaScript for the off/on rollovers):

<a href="javascript: document.paypal_moneymoxie.submit();"><img
src="/img/button_regnow_off.gif" hsrc="/img/button_regnow_on.gif"
width="75" height="15" border="0" /></a>


There are four such forms on this page, and I've made sure
that they form NAME and document.NAME.submit(); match in
each one of them.

These forms work when placed INDIVIDUALLY on a page, but
not together.

On the single page that they're all placed, the first one works,
but the rest all get the same error message:

"Object does not support this property or method"


Thanks in Advance,

Anthony




More information about the thelist mailing list