How can I retrieve a data attribute?

I am creating a UI dynamically with renderUI. An actionLink I create has a data-id attribute I add to keep track of which model entry it is referring to. When the user clicks on the actionLink, I get an observe() triggered, and need to obtain the data-id attribute, however, the input$action entry only has the value (e.g. how many times it was clicked).

How can I get the data- attribute of the link element?

If you can provide a small example of the sort of code you have set up, I will help you disambiguate

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.