I have an embedded html object on my app which is a chessboard, and I make piece moves on it.
I need to capture the piece move data from this html object so I can create scenarios on my app.
How can it be done? Below is the html code of this object:
<div class="cbdiagram"
data-size="450"
data-pos="wKb1,Re1,Pa3,b2,c2/bKg8,Re8,Pg7,h6"
data-solution=“e1e8”
Give it an element ID. You can use ‘Javascript to Bubble’ element to run javascript and document.getElementById(idYouGave) then expose back to Bubble the data pos.
thank you!
but I have no idea how to do what you suggested…
Dan