# Using Javascript in webviewer?

**URL:** <https://community.thunkable.com/t/using-javascript-in-webviewer/74358>\
**Category:** Questions about Thunkable X\
**Tags:** javascript\
**Created:** [April 10, 2019, 1:19pm UTC](https://community.thunkable.com/t/using-javascript-in-webviewer/74358 "2019-04-10T13:19:02Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [April 5, 2020, 5:15am UTC](https://community.thunkable.com/t/using-javascript-in-webviewer/74358/21 "2020-04-05T05:15:32Z")

</div>

That makes sense and thank you for the advice, I probably wouldn’t have thought twice about it. I have been limited with what I could do until now.

If you find the time, could you provide an example where more than 1 parameter is sent in an object and parsed by the HTML page? for example, the data, name of what is being graphed, a chart title, and a Y-axis title 😺 If not, I will probably just send the entire JSON body for now, which works but i’d love to clean up the code.

Currently, I have to compose and send that code 5 times in an API POST and only receive a static chart image. This new block and option really make graphs look much nicer! (and other things web-related much more convenient!)

also, I obviously still have a lot of coding to learn so thank you!

---

<div class="post-metadata">

**Author:** ![Dany\_Coimbra](https://avatars.discourse-cdn.com/v4/letter/d/9f8e36/32.png) [@Dany\_Coimbra](https://community.thunkable.com/u/Dany_Coimbra)\
**Post date:** [April 7, 2020, 11:49pm UTC](https://community.thunkable.com/t/using-javascript-in-webviewer/74358/22 "2020-04-07T23:49:24Z")

</div>

nice thank you I’m adding framework 7 to thunkable right now !  
but I have one problem I added all files to thunkable assets added index.html to the webview but I don’t know wheere to href and src my files… for the moment I sync them to my domaine

would like to have them on thunkable… I tryed with / and without

how can I tell if i click in webview a button that i goes on a screen in thunkable ?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/c/1cf82217d50e3dbeecca80d0d136ff2b3c76bfad.jpeg) ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/a/2a10570fc28736a3e2bc07c160818275d42d4e6c.jpeg)

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [April 8, 2020, 3:40am UTC](https://community.thunkable.com/t/using-javascript-in-webviewer/74358/23 "2020-04-08T03:40:40Z")

</div>

If you have already built an app using FW7, why package in a Thunkable App,

I mean, it seems like a cool idea, but wouldn’t it be easier to package/compile this with cordova(?)

---

<div class="post-metadata">

**Author:** ![Dany\_Coimbra](https://avatars.discourse-cdn.com/v4/letter/d/9f8e36/32.png) [@Dany\_Coimbra](https://community.thunkable.com/u/Dany_Coimbra)\
**Post date:** [April 8, 2020, 7:49am UTC](https://community.thunkable.com/t/using-javascript-in-webviewer/74358/24 "2020-04-08T07:49:13Z")

</div>

it’s 10 times easier to add a native navigation / form an all that with thunkable and wrap it … an thunkable is react native… apple love that more 😂

---

<div class="post-metadata">

**Author:** ![Dany\_Coimbra](https://avatars.discourse-cdn.com/v4/letter/d/9f8e36/32.png) [@Dany\_Coimbra](https://community.thunkable.com/u/Dany_Coimbra)\
**Post date:** [April 8, 2020, 1:10pm UTC](https://community.thunkable.com/t/using-javascript-in-webviewer/74358/25 "2020-04-08T13:10:42Z")

</div>

but still need help for the post message 😕 when click button in webview open screen two

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [April 15, 2020, 9:06pm UTC](https://community.thunkable.com/t/using-javascript-in-webviewer/74358/26 "2020-04-15T21:06:48Z")

</div>

Hey!

@paulmw,

I was asking about how to send multiple pieces of info. Particularly I wanted to send custom X value along with the Y values.

I added on to the chart you made and customized a little.

[https://x.thunkable.com/copy/c81b679b3155d28ba917d37e684b9e04](https://x.thunkable.com/copy/c81b679b3155d28ba917d37e684b9e04)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:38am UTC](https://community.thunkable.com/t/using-javascript-in-webviewer/74358/27 "2024-11-08T11:38:58Z")

</div>



[Previous page](https://community.thunkable.com/t/using-javascript-in-webviewer/74358.md?page=1)
