Created
July 28, 2011 16:29
-
-
Save kidbrax/1111880 to your computer and use it in GitHub Desktop.
convert multiple fields on form submit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#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