# Can I edit an element of an HTML page by Thunkable?

**URL:** <https://community.thunkable.com/t/can-i-edit-an-element-of-an-html-page-by-thunkable/454085>\
**Category:** Questions about Thunkable X\
**Created:** [February 9, 2020, 10:36am UTC](https://community.thunkable.com/t/can-i-edit-an-element-of-an-html-page-by-thunkable/454085 "2020-02-09T10:36:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![andybullet](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@andybullet](https://community.thunkable.com/u/andybullet)\
**Post date:** [February 9, 2020, 10:36am UTC](https://community.thunkable.com/t/can-i-edit-an-element-of-an-html-page-by-thunkable/454085/1 "2020-02-09T10:36:46Z")

</div>

Hi guys!  
I need an information.  
By Thunkable, can I edit an element of the HTML page that is in WebViewer? And can I also edit a JavaScript variable? If yes, can you tell me how?  
Thanks!

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [February 9, 2020, 1:08pm UTC](https://community.thunkable.com/t/can-i-edit-an-element-of-an-html-page-by-thunkable/454085/2 "2020-02-09T13:08:03Z")

</div>

Hi, to edit an html element, specify the contenteditable=true parameter for it. Create a function and edit the variable. You can even dynamically change the page or embed code using the eval or Function function.

---

<div class="post-metadata">

**Author:** ![andybullet](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@andybullet](https://community.thunkable.com/u/andybullet)\
**Post date:** [February 9, 2020, 1:12pm UTC](https://community.thunkable.com/t/can-i-edit-an-element-of-an-html-page-by-thunkable/454085/3 "2020-02-09T13:12:11Z")

</div>

But I want the html page editable only by clicking a button of Thunkable, if I set contenteditable=true everyone will can do it.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [February 9, 2020, 1:14pm UTC](https://community.thunkable.com/t/can-i-edit-an-element-of-an-html-page-by-thunkable/454085/4 "2020-02-09T13:14:28Z")

</div>

Data exchange between WebViewer and App in Thunkable X takes place via a web server, for example WebAPI and php-script, Firebase Javascript API.

---

<div class="post-metadata">

**Author:** ![andybullet](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@andybullet](https://community.thunkable.com/u/andybullet)\
**Post date:** [February 9, 2020, 1:14pm UTC](https://community.thunkable.com/t/can-i-edit-an-element-of-an-html-page-by-thunkable/454085/5 "2020-02-09T13:14:54Z")

</div>

So?

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [February 9, 2020, 1:18pm UTC](https://community.thunkable.com/t/can-i-edit-an-element-of-an-html-page-by-thunkable/454085/6 "2020-02-09T13:18:40Z")

</div>

There are no simple solutions. You need to be able to program at least in php and understand how data is exchanged between html and the web server

---

<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:** [February 9, 2020, 1:28pm UTC](https://community.thunkable.com/t/can-i-edit-an-element-of-an-html-page-by-thunkable/454085/7 "2020-02-09T13:28:16Z")

</div>

For the complex problem there is never an easy solution. This is why my apps will likely stay limited in functionality. I don’t have time to learn other programming languages for now ☹

---

<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:41am UTC](https://community.thunkable.com/t/can-i-edit-an-element-of-an-html-page-by-thunkable/454085/8 "2024-11-08T11:41:13Z")

</div>


