[wtr-general] Select an element when :id and :class are not completely known

2010-08-18 Thread jasbro
In the jQuery world, it isn't uncommon for me to dynamically add classes to an element. Depending on various circumstances, the class of a div might be something like amount or amount required or amount required invalid. In my particular situation, the problem is compounded by the fact that my

Re: [wtr-general] Select an element when :id and :class are not completely known

2010-08-18 Thread Eric Mathiesen
When I run into this I use :index, # On Aug 18, 2010 2:52 PM, jasbro jas...@gmail.com wrote: In the jQuery world, it isn't uncommon for me to dynamically add classes to an element. Depending on various circumstances, the class of a div might be something like amount or amount required or amount