Thu, 2003-10-23 20:05
can someone tell me why this won't work right??
<form target="paypal" name="paypal1" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="business" value="[email protected]"> <input type="hidden" name="item_name" value="1qt White Base Coat + 1qt Top Coat"> <input type="hidden" name="item_number" value="44781"> <input type="hidden" name="amount" value="80.00"> <input type="hidden" name="no_note" value="1"> <input type="hidden" name="shipping" value="8.00"> <input type="hidden" name="shipping2" value="4.00"> <input type="hidden" name="currency_code" value="USD"> <input type="submit" value="Add To Cart" name="submit"> <input type="hidden" name="add" value="1"> </form> <A HREF="javascript:document.paypal1.submit();" onmouseover="im1.src='webpics/addcarthigh.gif'" onmouseout="im1.src='webpics/addcart.gif'"><img border=0 src=webpics/addcart.gif name=im1></A>
The whole purpose is to have an Add to cart button the highlights red when i mouseover it, that works fine, but it won't submit to the form like it should
Fri, 2003-10-24 02:49
#1
A href javascript.formname
Hi stoneman,
It seems to work for me in Netscape 7 and IE 6.
Do you have any other javascript errors on the page?
In Netscape you can check from the tools menu under web development -> JavaScript Console.
Hope that helps