Capturing data from an html object

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"


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.

1 Like

thank you!
but I have no idea how to do what you suggested…

This topic was automatically closed after 70 days. New replies are no longer allowed.