☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

bokeh class with spaces

Community Support
peng_wang
peng_wang

Hi Guys, I am trying to select a specific element in html file, unluckily, I can not, could someone help me out, I work on this issue almost entire day. thanks

2018-09-26_16-02-47.png

2018-09-26_16-07-26.png

window.addEventListener(‘load’,function () {

console.log(“ready!”);

document.getElementsByClassName(‘bk-plot-layout bk-layout-fixed mainplothahahahahahhahahahahaha’)[0]

.getElementsByClassName(‘bk-plot-wrapper’)[0]

.getElementsByClassName(‘bk-canvas-wrapper’)[0]

.getElementsByClassName(‘bk-canvas’)[0].style.width = 200

var mainplot = document.getElementsByClassName(‘bk-plot-layout bk-layout-fixed mainplothahahahahahhahahahahaha’)[0]

if (mainplot) {

console.log("@@@@@@@@@@@@@@@@@@@")

}

})

``

⌁   Link to post

End of archived discussion · Replies are disabled