|
Posted by Jukka K. Korpela on 03/22/07 15:36
Scripsit stax:
> a PayPal button is typically a image, is it possible to use a real
> button?
Surely. In rare cases, a server uses information about the coordinates of
the click on an image submit button, but in most situations, you can replace
it by a normal submit button.
> <input type="image"
> src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0"
> name="submit">
That's the image submit button.
> <input type="button" value="test" name="submit"
> onclick="goToPayPal()">
No, you don't need anything that complicated, and using JavaScript for form
submission would make the form non-functional when JavaScript execution is
disabled in browser settings.
Just use a normal submit button:
<input type="submit" value="Donate">
The value="..." attribute specifies the text that will appear in the button.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|