How can I getElementById Input checkbox in this example of Imager Layers Manipulation

Please help me!! Cesium Sandcastle


Hi @Yen_Woody,

in this particular Sandcastle, you can’t get the Checkbox via getElementByID or getElementsByClassName because it’s inserted via javascript as a “data-bind” and don’t have an id or a class.

more Info: Knockout : Binding context (

Best, Lennart

1 Like