Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Create and Attach Event to Button via JavaScript

$
0
0

Hi Guys,

 

is there a way to create an event dynamically and attach it to a button?

My idea is basically:

-) Create an event (eg click)

-) add a script node to the event

-) add it to a button

-) force a remerge of the different models

 

What I tried is to change the type of a existing event and then using remerge() to have in the DOM but that didn't work.

 

If it is possible to change the event type of an existing event that would also work for me.

 

best regards,

John


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>