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

Content deleted Content added
Undo revision 25801 by Pcoombe (talk)
wrap in document ready
Line 10:
<input type="hidden" name="referrer" value="" />
 
<script type="text/javascript">
$(document).ready(function() {
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' );
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' );
document.paypalcontribution.utm_key.value = getQuerystring( 'utm_key' );
document.paypalcontribution.referrer.value = document.referrer;
});
</script>