T.J. Crowder wrote:
Hi,
On Jan 11, 2:03 pm, bill wrote:
Also note that if you know the element will have an ID, or if you
don't care if it doesn't, you can just use the `id` property.
[snip]
I know the divs will have IDs, so how would I write it to just use the
id property ?
T.J. Crowder wrote:
Hi,
On Jan 10, 7:08 pm, bill wrote:
DJ Mangus wrote:
What is returned is the same thing you'd get if you used $('id').
Chain on .identify to get the Id from a DOM node.
Thank you.
as in:
function clickHander (event) {
var id = event.element().identify