# Run function inside WebView

**URL:** <https://forums.fusetools.com/t/run-function-inside-webview/5150>\
**Category:** General\
**Created:** [February 8, 2017, 3:36pm UTC](https://forums.fusetools.com/t/run-function-inside-webview/5150 "2017-02-08T15:36:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![danhanfry](https://avatars.discourse-cdn.com/v4/letter/d/50afbb/32.png) [@danhanfry](https://forums.fusetools.com/u/danhanfry)\
**Post date:** [February 8, 2017, 3:36pm UTC](https://forums.fusetools.com/t/run-function-inside-webview/5150/1 "2017-02-08T15:36:21Z")

</div>

Good

A button in fuse, could I run a function inside a webview? Maybe with EvaluateJS ?

Or inject code, after pressing a button?

Thank you

---

<div class="post-metadata">

**Author:** ![Andreas\_Ronning](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/andreas_ronning/32/303_2.png) [@Andreas\_Ronning](https://forums.fusetools.com/u/Andreas_Ronning)\
**Post date:** [February 10, 2017, 8:01pm UTC](https://forums.fusetools.com/t/run-function-inside-webview/5150/2 "2017-02-10T20:01:30Z")

</div>

EvaluateJS is your friend here, yep

---

<div class="post-metadata">

**Author:** ![danhanfry](https://avatars.discourse-cdn.com/v4/letter/d/50afbb/32.png) [@danhanfry](https://forums.fusetools.com/u/danhanfry)\
**Post date:** [February 10, 2017, 11:57pm UTC](https://forums.fusetools.com/t/run-function-inside-webview/5150/3 "2017-02-10T23:57:21Z")

</div>

> **Andreas Rønning wrote:**
> 
> EvaluateJS is your friend here, yep

Thank you, I have a question. I can enter javascript code, just when I create the webview, but I do not know how to interact with the web later.

That is to say. After pressing a button (UI Control) as you could inject code or execute a function inside a webview already created.

I do not know where to start.
