Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Re: unable to get the clicked button value

$
0
0

In this case the variable oFld is undefined when you press the button.

 

Use something like this:

 

oFld.setAction(MouseUp", "app.alert(\"" + oFld.name + "\");");

 

or

 

oFld.setAction(MouseUp", "app.alert(event.target.name);");


Viewing all articles
Browse latest Browse all 10848

Trending Articles