On Nov 24, 7:46 am, yetanother <[EMAIL PROTECTED]> wrote:
> I'm using an id tag (based on my database id) in my html to help
> direct traffic. On a click I use the following which grabs the
> variable from the id tag of the link:

I presume you meant the id attribute of an A element.

>
> var myID = $(this).attr("id");
>
> I tested that with an alert and it works properly...
>
> Now then, if there was an unordered list with that same id later on
> the page

That is invalid HTML, the value of an id attribute must be unique in
the page.

--
Rob

Reply via email to