JQuery and Seamless Play

andrew-robertson
andrew-robertson Community Member Posts: 277 ☆ Superstar ☆
Good afternoon - I have a quick question. My colleague figured out a quick and simple way to obtain the unique ID of an object based on the the class name as shown below.

triv$(".tmpbutton").first().attr("id")

While this works fine, it doesn't work when we publish the content using the Publish for Seamless Play enabled. Is there a way to make it work when that is enabled?
Andrew R.
Developing content since 2010 using a mixed bag of tools.

Best Answers

Answers