SHARE
TWEET

Untitled

a guest Jun 18th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var db = firebase.database().ref("modality");
  2.     db.once("value", function(snapshot){
  3.       snapshot.val().forEach(function(child){
  4.  
  5.         if ( child.female == "true" ){
  6.           inputModalityFemale.checked = true;
  7.         } else {
  8.           inputModalityFemale.checked = false;
  9.         }
  10.         console.log(child.mixed);
  11.  
  12.       });
  13.     });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top