Are you forgetting the $ ? $('div.nav_one_selected a').attr('href');
Mike > I was attempting to read the href of the anchor tag like this: > > var initlink = ('a', 'div.nav_one_selected').attr("href"); > > I also tried > var initlink = ('div.nav_one_selected/a').attr("href"); > > I get an error like: ('a', 'div.nav_one_selected').attr is not a function --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery (English)" group. To post to this group, send email to jquery-en@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-en?hl=en -~----------~----~----~----~------~----~------~--~---