Template:2011FR/Form-section-processing: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
function redirectPayment(i) { |
function redirectPayment(i) { |
||
document.getElementsByName("currency_code")[0].value="</html>{{2011FR/core-currency-code|{{{country}}}}}<html>"; |
|||
//************************************ credit card ************************************ |
//************************************ credit card ************************************ |
||
//if i == cc |
//if i == cc |
||
Line 57: | Line 58: | ||
document.paypalcontribution.appendChild(gateway); |
document.paypalcontribution.appendChild(gateway); |
||
document.getElementsByName("currency_code")[0].value="USD"; |
document.getElementsByName("currency_code")[0].value="USD"; |
||
document.getElementsByName("amountGiven")[0].value=""; |
|||
for ( var j = 0; j < document.getElementsByName("amount").length; j++ ) |
|||
document.getElementsByName("amount")[j].checked=false; |
|||
//document.getElementsByName("amount")[2].value=""; |
|||
//document.getElementsByName("amount")[3].value=""; |
|||
//document.getElementsByName("amount")[4].value=""; |
|||
//document.getElementsByName("amount")[5].value=""; |
|||
//document.getElementsByName("amount")[6].value=""; |
|||
} |
} |
||
Line 120: | Line 116: | ||
//****************************** End Faulkner ****************************************************** |
//****************************** End Faulkner ****************************************************** |
||
if (i=="ew-pp-usd"){ |
|||
⚫ | |||
if(typeof(OWA) !== 'undefined'){OWATracker.shareStateByPost( document.paypalcontribution );} |
|||
document.paypalcontribution.submit(); |
|||
} |
|||
⚫ | |||
if(typeof(OWA) !== 'undefined'){OWATracker.shareStateByPost( document.paypalcontribution );} |
if(typeof(OWA) !== 'undefined'){OWATracker.shareStateByPost( document.paypalcontribution );} |
||
document.paypalcontribution.submit(); |
document.paypalcontribution.submit(); |
Revision as of 22:32, 16 November 2011