Advertisement
Guest User

Untitled

a guest
May 6th, 2016
95
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         var flexText;
  2.  
  3.             $('input:checkbox[name="flex"]').change(function (e) {
  4.                 if ($("#flexible").prop('checked') == true) {
  5.                     flexText = 'true';
  6.                 } else {
  7.                     flexText = 'false';
  8.                 }
  9.             });
  10.  
  11.         console.log(flexText);
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement