E
exxos
HI all,
This has had me confuzzeled for a while now, I've read countless threads on
such errors and it seems to be down to the way things are set out and
loaded. Can anyone suggest why this code throws up the null or not object
error ? The crazy thing is it all actually works fine aswell.....
<script language='JavaScript'>
function includeemail()
{
var f0 = document.PaypalForm0;
f0.business.value = "999999"
</script>
</head>
<tr>
<TD>
<form name='PaypalForm0'
action='https://www.paypal.com/cgi-bin/webscr' method='post'
onsubmit='includeemail()' target='paypal'>
<input type='image'
src='https://www.paypal.com/en_GB/i/btn/x-click-but22.gif' border='0'
name='submit' alt='Make payments with PayPal '>
<input type='hidden' name='add' value='1'>
<input type='hidden' name='cmd' value='_cart'>
<input type='hidden' name='item_name' value='ITEM'>
<input type='hidden' name='amount' value='VALUE'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='GBP'>
</form>
</TD>
</tr>
ive cut out the html header stuff etc to make it easier to read..... anyone
got anyideas ?
thanks,
Chris
This has had me confuzzeled for a while now, I've read countless threads on
such errors and it seems to be down to the way things are set out and
loaded. Can anyone suggest why this code throws up the null or not object
error ? The crazy thing is it all actually works fine aswell.....
<script language='JavaScript'>
function includeemail()
{
var f0 = document.PaypalForm0;
f0.business.value = "999999"
</script>
</head>
<tr>
<TD>
<form name='PaypalForm0'
action='https://www.paypal.com/cgi-bin/webscr' method='post'
onsubmit='includeemail()' target='paypal'>
<input type='image'
src='https://www.paypal.com/en_GB/i/btn/x-click-but22.gif' border='0'
name='submit' alt='Make payments with PayPal '>
<input type='hidden' name='add' value='1'>
<input type='hidden' name='cmd' value='_cart'>
<input type='hidden' name='item_name' value='ITEM'>
<input type='hidden' name='amount' value='VALUE'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='GBP'>
</form>
</TD>
</tr>
ive cut out the html header stuff etc to make it easier to read..... anyone
got anyideas ?
thanks,
Chris