- - Code, Content, and Presentation
- ---- getting #ID of a clickable via jQuery
sssweb - 1:19 pm on Mar 22, 2013 (gmt 0)
Great, thanks. Glad I asked -- never would have gotten that on my own.
Just to follow up, the only way I could get el.id to work in a jQuery command was to use:
$("#" + el.id).show();
Is that the only/best way to code it? Seems a little complex for a simple var.
Brought to you by WebmasterWorld: http://www.webmasterworld.com