Answer the question
In order to leave comments, you need to log in
Schrödinger object - why is there no object, if there is visual data, how to get this data in the end?
I'm trying to get the value of an element, but I get an error when I switch to the elements tab and click on this element with the mouse, and then switch back to the console and try to get the text content of this element again, then everything works.
Why is this happening?
How can I immediately get the text content of an element without switching to the elements tab and then back again?
*Bitrix API JS does not allow you to get the content of the fields from the lead you are creating.
Screenshots
Answer the question
In order to leave comments, you need to log in
document.querySelector('iframe.side-panel-iframe').contentWindow.document.querySelector('.your-selector')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question