Template:2011FR/Form-section-links: Difference between revisions

Content deleted Content added
do this more cleanly with parameters as JS objects
No edit summary
Line 53:
 
var paramsOut = paramsIn;
paramsOut.['form-countryspecific'] = 'Form-countryspecific-monthly';
 
document.getElementById('monthly-link').href = baseURL + $.param(paramsOut);