# Issues using local HTML - web viewer does not post/receive messages or load html

**URL:** <https://community.thunkable.com/t/issues-using-local-html-web-viewer-does-not-post-receive-messages-or-load-html/1594357>\
**Category:** Issues / Bugs\
**Tags:** bug\
**Created:** [November 2, 2021, 8:27pm UTC](https://community.thunkable.com/t/issues-using-local-html-web-viewer-does-not-post-receive-messages-or-load-html/1594357 "2021-11-02T20:27:57Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![oberon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/oberon/32/112434_2.png) [@oberon](https://community.thunkable.com/u/oberon)\
**Post date:** [November 10, 2021, 4:07pm UTC](https://community.thunkable.com/t/issues-using-local-html-web-viewer-does-not-post-receive-messages-or-load-html/1594357/5 "2021-11-10T16:07:58Z")

</div>

I put the webviewer in visible at a normal size it displays all pages correctly but if I put a hosted page for example index.html with this code

```auto
<html><head>
<script src="https://thunkable.github.io/webviewer-extension/thunkableWebviewerExtension.js" type="text/javascript"></script>
<script type="text/javascript">
// when we get a message from the app, display it on the page
ThunkableWebviewerExtension.receiveMessage(function(message) {
 document.body.innerHTML = message;
});
</script>
<title>Facture</title>
</head>
<body>
</body>
</html>

```

when I send the message via thunkable nothing happens I have a blank page yet before the updates all worked perfectly, so the perfect example is this post

[Create Invoice (Display on Thunkable live,Send by email with pdf attachment) - Thunkable Tutorials - Community](https://community.thunkable.com/t/create-invoice-display-on-thunkable-live-send-by-email-with-pdf-attachment/1433301)

---

_[View the full topic](https://community.thunkable.com/t/issues-using-local-html-web-viewer-does-not-post-receive-messages-or-load-html/1594357)._
