WebEngine, getDocument and JavaScript
Anton Tarasov
anton.tarasov at oracle.com
Wed Jul 22 16:37:47 UTC 2015
Hi Michael,
On 15/07/15 22:38, Michael Pozhidaev wrote:
> Hi guys!
>
> Please help me just to make sure! Do I understand correctly that
> WebEngine.getDocument() method returns the document structure with all
> changes which JS scripts have already done on the document?
Correct. Otherwise, it would be pretty useless. You can also track DOM
changes with event listeners.
Regards,
Anton.
>
> It appeared to be the case, taking this fragment of the documentation:
>
>> necessary, and runs JavaScript on pages. It provides access to the document model of the current page, and enables two-way communication between a Java
>> application and JavaScript code of the page.
> However, this text doesn't give me the exact answer (as well as other
> things I have read).
>
> Thank you so much! :))
>
More information about the openjfx-dev
mailing list