Mailing List Archive

Identifying an elements state on the client (specifically a checkbox)
We currently (in javascript), are dynamically changing the slug based on
any changes made to the title of a story before being published (watching
keyup event). That works great. There are times that the producer would
like to change the title but keep the slug the same. So, we've created a
checkbox element that a producer can check off when they want to be able to
keep the slug different than the title (stop the dynamic changing of slug).
Is there any way to uniquely identify on the client an element you've
created. Even if the element is a singleton it seems that every story gets
a unique value as the id

Thanks,

Brian
Re: Identifying an elements state on the client (specifically a checkbox) [ In reply to ]
On May 30, 2014, at 8:14 AM, Brian Percival <brian.percival@targetlabs.net> wrote:

> Is there any way to uniquely identify on the client an element you've
> created. Even if the element is a singleton it seems that every story gets
> a unique value as the id

I’m afraid I don’t understand the question. Anyone else?

David