Advertisements

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">

Jukka K. Korpela wrote:
> 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.
>

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!