Template:2011FR/Form-section-radiobuttons-5: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 114:
}
}
if ( form.
var otherAmount = form.
otherAmount = otherAmount.replace(/[,.](\d)$/, '\:$10');
otherAmount = otherAmount.replace(/[,.](\d)(\d)$/, '\:$1$2');
otherAmount = otherAmount.replace(/[\$,.]/g, '');
otherAmount = otherAmount.replace(/:/, '.');
form.input_amount_other_box.value = otherAmount;
form.amountGiven.value = otherAmount;
amount = otherAmount;
Line 143 ⟶ 144:
<div>
<div id="radiobuttons-table-header">
<!-- </html>{{int:donate_interface-amount-legend}}<html> <a id="currency-link"></html>{{{currency-symbol}}}<html><span style="font-size: 0.6em;"> (Change?)</span></a> -->
</html>{{int:donate_interface-amount-legend}} {{{currency-symbol}}}<html>
</div>
</div>
Line 193 ⟶ 195:
<tr>
<td class="amount-table-cell">
<input type="radio" name="amount" id="input_amount_3" onclick="selectAmount();" value="</html>{{{donate-amount-
<label for="input_amount_4"></html>{{{donate-amount-
</td>
<td class="amount-table-cell">
<input type="radio" name="amount" id="input_amount_4" onclick="selectAmount();" value="</html>{{{donate-amount-
<label for="input_amount_5"></html>{{{donate-amount-
</td>
<td class="amount-table-cell">
<input type="radio" name="amount" id="input_amount_other" value="" /><input type="text
</td>
</tr>
|