Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- function validateAmount(amount){
- if(amount.value.match( /^[0-9]+(\.([0-9]+))?$/)){
- return true;
- }else{
- alert('You must enter a valid donation.');
- amount.focus();
- return false;
- }
- }
- </script>
- <form action="https://checkout.google.com/cws/v2/Donations/902802745730475/checkoutForm" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm" onSubmit="return validateAmount(this.item_price_1)" target="_top">
- <input name="item_name_1" type="hidden" value="Support Tiamat Xoom Kernel Development by your favorite dev Bigrushdog"/>
- <input name="item_description_1" type="hidden" value="Hey guys. As you know, a lot of time and effort goes into building and improving the Tiamat Xoom kernel. Man, I'm thirsty! Won't you buy me a beer? Or a bottle of Patron? ;D Thank you for your kindness and generosity. God bless. Randy"/>
- <input name="item_quantity_1" type="hidden" value="1"/>
- <input name="item_currency_1" type="hidden" value="USD"/>
- <input name="item_is_modifiable_1" type="hidden" value="true"/>
- <input name="item_min_price_1" type="hidden" value="0.01"/>
- <input name="item_max_price_1" type="hidden" value="25000.0"/>
- <input name="_charset_" type="hidden" value="utf-8"/>
- <table cellpadding="5" cellspacing="0" width="1%">
- <tr>
- <td align="right" nowrap="nowrap" width="1%">$ <input id="item_price_1" name="item_price_1" onfocus="this.style.color='black'; this.value='';" size="11" style="color:grey;" type="text" value="Enter Amount"/>
- </td>
- <td align="left" width="1%">
- <input alt="Donate" src="https://checkout.google.com/buttons/donateNow.gif?merchant_id=902802745730475&w=115&h=50&style=white&variant=text&loc=en_US" type="image"/>
- </td>
- </tr>
- </table>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment