AnsweredAssumed Answered

Using a standard button to trigger a locator / script

Question asked by mbakerDPS on Jul 9, 2014
Latest reply on Jul 10, 2014 by mbakerDPS

All,

 

I'm trying to figure out how to use a standard button component to trigger a locator rather than a DOJO component

 

I was given a hint to try

 

on(dom.byId("buttonID"), "click", locate);


 

...but I can't get that to work.

 

UPDATE: I've attached some code with the suggestion by Jake Skinner from comments below - solution is working great. Thank you!!!

 

Thanks!

Attachments

Outcomes