6 Replies Latest reply on Jan 15, 2016 1:07 PM by resdesign

    apply bindElementAction to multiple symbols?


      I'm very new to Edge Animate and jquery, so this might be a dumb question...but I can't figure out the syntax to include multiple objects in a "bindElementAction"


      For example, if I want to add a "click" to one object, the code that is generated is

      Symbol.bindElementAction(compID, symbolName, "${_option1}", "click", function (sym, e) {

           //stuff here



      But I'm making a multiple choice quiz, so I want to be able to apply the same actions to all four of the option symbols (option1, option2, etc) at once, without having to copy and paste the block above three times.