Last active
October 26, 2016 01:59
-
-
Save omarkdev/a1d30e5fda3e9c6d21365581ed0a1ba1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$(".selectFreq").on('change', function(){ | |
alert('ok'); | |
var soma = 0; | |
$(".servicos").each(function(x){ | |
var val = $(this).val(); | |
if(!val || isNaN(val)) | |
return false; | |
soma = soma+parseFloat(val); | |
}); | |
soma = soma.toFixed(2); | |
$("#VlrTot").val(soma); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment