Jump to content

[Question]: executeBrowserJavascript()


Skraund

Recommended Posts

Hello, I'm having a problem, I need to call a function in the browser from the lua script. But I can not do it at all.

-----------------------------------------------------------------------------------------------------------------------------------------

HTML:

<script>
          
            function chat() {
                    var text = document.getElementById( "Text" ).value
                    document.getElementById( "Text" ).value = ""
            }

</script>

LUA:

executeBrowserJavascript( theBrowser, "?" )

-----------------------------------------------------------------------------------------------------------------------------------------

Someone can tell how to call a function in the browser from the  lua script?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...