id will be a string. AFAIK there's no built-in to parse it as a number and compare. you'd either have to .each() it or find another means of accomplishing what you are trying to do.
aquaone On Mon, Aug 31, 2009 at 13:50, Namir <namiras...@hotmail.com> wrote: > > How can I do a less than in a select e.g. something like $.("span.class > [id<"+ a_custom_variable +"]") when I tried that it just selected all > span of class with an ID attribute rather than where ID attribute is > less than