Why not just have a container (say... html) have the class of that page
type.
Then you can do $("html.this div#id")
-- Yehuda
On 1/25/07, Olaf Bosch <[EMAIL PROTECTED]> wrote:
jgrucza schrieb:
> Yeah I know that, but consider this situation:
>
> 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?
>
> Jennifer
Haha, Jennifer, you search a selector for
<div id="thisID" class="thisCLASS">
right? ;)
--
Viele Grüße, Olaf
-------------------------------
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
-------------------------------
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
--
Yehuda Katz
Web Developer | Wycats Designs
(ph) 718.877.1325
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/