Create a gist now

Instantly share code, notes, and snippets.

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