Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(function(){
- $('.leds').keyup(function(){
- var total = 0;
- $(this).each(function(){
- total += $(this).val();
- });
- $('#resultado').html(total);
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement