Posts Tagged Input Type
PayPal Subscriptions HTML Code
Posted by in PHP code on January 6th, 2010
Manipulating The HTML Code for Your Subscription Button
The following tables show the different parameters within the Subscriptions HTML code and the Subscriptions hyperlink.
The terms for the following subscription are:
-Free for the first week
-$5.00 USD for the next 2 months
-$50.00 USD per year thereafter. Recurs at regular rate for 5 payments
border=”0″ name=”submit”
alt=”Make payments with PayPal – it’s fast, free and secure!”>
|
Table 9.1
|
Source: https://www.paypal.com/en_US/ebook/subscriptions/html.html
jQuery reload page
Posted by in Jquery on July 18th, 2009
When you load a page using require PHP function, there is time when you want to reload the page in require PHP function again. You can do this by using the require in a div. Then load the page again using jQuery load function.
Here’s the code in the main page:
<head>
<script type=”text/javascript” src=”jquery.js”></script>
<script type=”text/javascript”>
function reload()
{
$(”#page”).load(”page.php?value=test”);
}
</script>
</head>
<body>
<div id=”page”>
<?php
require(”page.php”);
?></div>
<br>
<input type=button value=”Click to reload page.php” onclick=”reload();”>
</body>
</html>
And the function in page.php:
echo “Test value = ” . $_GET['value'];
?>









