Template:Form-template/Form-template-default: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Undo revision 25801 by Pcoombe (talk)
wrap in document ready
Line 10: Line 10:
<input type="hidden" name="referrer" value="" />
<input type="hidden" name="referrer" value="" />


<script type="text/javascript">
<script>
$(document).ready(function() {
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' );
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' );
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' );
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' );
document.paypalcontribution.utm_key.value = getQuerystring( 'utm_key' );
document.paypalcontribution.utm_key.value = getQuerystring( 'utm_key' );
document.paypalcontribution.referrer.value = document.referrer;
document.paypalcontribution.referrer.value = document.referrer;
});
</script>
</script>



Revision as of 14:07, 23 May 2014

  1. REDIRECT Template:Validation.js