Here's an example of how you could create a script that prompts the user for input and then executes a function based on that input:
618 chars27 lines
This script creates an input field and a button on the page. When the button is clicked, the executeFunction()
function is called. This function retrieves the value of the input field, and then calls myFunction()
with the input value as an argument.
You'll need to replace the contents of myFunction()
with your own function code that does whatever you need it to do based on the input value.
gistlibby LogSnag