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?