User talk:CristianCantoro: Difference between revisions
Content deleted Content added
javascript errors |
No edit summary |
||
Line 1: | Line 1: | ||
The following code in [[Template:2010/Donate-nowIT]] is throwing Javascript errors (probably because the code is trying to execute before the form is built, rather than afterwards, i.e. it's not in a function. |
The following code in [[Template:2010/Donate-nowIT]] is throwing Javascript errors (probably because the code is trying to execute before the form is built, rather than afterwards, i.e. it's not in a function. |
||
⚫ | |||
<code> |
|||
document.paypalcontribution. |
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' ); |
||
document.paypalcontribution. |
document.paypalcontribution.referrer.value = document.referrer; |
||
⚫ | |||
</code> |
|||
[[User:Kaldari|Kaldari]] 02:16, 13 November 2010 (UTC) |
[[User:Kaldari|Kaldari]] 02:16, 13 November 2010 (UTC) |
Latest revision as of 02:16, 13 November 2010
The following code in Template:2010/Donate-nowIT is throwing Javascript errors (probably because the code is trying to execute before the form is built, rather than afterwards, i.e. it's not in a function.
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' ); document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' ); document.paypalcontribution.referrer.value = document.referrer;