5 Replies Latest reply on May 2, 2012 9:59 PM by 913014

    Javascript expression help in Set Value Dynamic Action

      Hi all,

      I have what I hope is an easy question to answer.

      I am trying to set the value of an item on my page, via a Dynamic Action, to the ID of the triggering element.

      For example, I may have several links on my page as follow:

      Link 1
      Link 2
      Link 3

      My Dynamic Action is linked to JQuery selector a.agree, but I need to know which of my links fired it so that I can set a value on my page.

      I am using the 'Set Value' Dynamic Action, with Set Type: 'Javascript Expression'. I just don't know what to put in the Expression field.

      Many thanks for any help you can provide!