user1645848
user1645848

Reputation: 11

getting TextBox Value in ClientHandler google apps script

What I would like to do is the following:

var handler1 app.createClientHandler().
              forTargets(textbox2).setText(textbox1.getText());

However .getText doesn't exist on the client side.

I can get it to work using ServerHandler and e.parameter.textbox1:

v3.setText(e.parameter.textbox1);

Are there other solutions or workarounds?

Upvotes: 1

Views: 498

Answers (1)

Eric Koleda
Eric Koleda

Reputation: 12673

No, it's not possible to read the values of widgets in a client handler.

Upvotes: 3

Related Questions