javascript - Get node of data from firebase -


i'm trying data firebase , i'm little stuck that. enter image description here

i'm trying semaa data did not give me nothing

firebase.database().ref('courses/'+departmentid+'/sema'), 

i can specific (but don't want it)

firebase.database().ref('courses/'+departmentid+'/sema/java'), 

i wnated black sign , red sign in 2 different queries , run loop data there enter image description here

if you're looking loop on courses in semester:

var semesterref = firebase.database().ref('courses/'+departmentid+'/sema') semesterref.on('child_added', function(coursesnapshot) {     console.log(coursesnapshot.key); }); 

Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -