Skip to content

Instantly share code, notes, and snippets.



Created Jul 28, 2011
What would you like to do?
convert multiple fields on form submit
$('#formId').submit(function() {
newValue = toCurrency($('#filed1Id').val())
newValue2 = toCurrency($('#field2Id').val())
return false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment