On 1/25/07, jgrucza <[EMAIL PROTECTED]> wrote:

Two different kinds of pages each have an element with the same ID.  I
want
my Javascript to only affect the element on one of those pages.  So I
precede the ID with the class name I use for that page type, to target the
right one.  Isn't this a reasonable use case?


Agreed; Just because element IDs have to be unique doesn't mean that the
element has to be in the same place on every page.

--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to