Add an id to elements #683

Open
pyjsorg opened this Issue Apr 27, 2012 · 1 comment

Projects

None yet

2 participants

@pyjsorg
Contributor
pyjsorg commented Apr 27, 2012

[copied over from Trac]

It would be great if every element had a unique id set, so that we could target them with custom
javascript.

This could be based on the hash function that is already there.

Or, at the very least, a method could be there "getElementId()" which adds an id attribute if it isn't
there already.

Original issue: http://code.google.com/p/pyjamas/issues/detail?id=33 (March 20, 2007 07:44:29)

@pyjsorg pyjsorg pushed a commit that referenced this issue May 1, 2012
Luke Leighton #683 - utf8 bug 5c68362
Contributor
earney commented Jul 9, 2012

doesn't getID/setID (defined in Widget.py) do what is requested here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment