# HTMLViewer: Xojo + JavaScript Communication

**URL:** <https://forum.xojo.com/t/htmlviewer-xojo-javascript-communication/56767>\
**Category:** Windows\
**Created:** [September 5, 2020, 11:53pm UTC](https://forum.xojo.com/t/htmlviewer-xojo-javascript-communication/56767 "2020-09-05T23:53:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Rick\_Araujo](https://forum.xojo.com/user_avatar/forum.xojo.com/rick_araujo/32/251_2.png) [@Rick\_Araujo](https://forum.xojo.com/u/Rick_Araujo)\
**Post date:** [September 6, 2020, 2:07am UTC](https://forum.xojo.com/t/htmlviewer-xojo-javascript-communication/56767/2 "2020-09-06T02:07:14Z")

</div>

> [@Desktop HTML viewer fail with 2020 R1](https://forum.xojo.com/t/desktop-html-viewer-fail-with-2020-r1/56379/31):
>
> You can even communicate to and from javascript to Xojo now.

I don’t see a way of sending content to Xojo when clicking an HTML button as it looks the ExecuteInXojo() method is not available from the HtmlViewer document onClick event. It means no JS originated call to Xojo, only Xojo originated to JS.

---

_[View the full topic](https://forum.xojo.com/t/htmlviewer-xojo-javascript-communication/56767)._
