Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. // Byte 0
  2. $("input:checkbox[name=byte0]:checked").each( function() {
  3. byte[0] += parseInt( $(this).val() );
  4. });
  5.  
  6. if ( parseInt( items[0] ) & 0x80 ) {
  7. $('#byte0_7').prop('checked', true);
  8. }
  9. else {
  10. $('#byte0_7').prop('checked', false);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement