why wouldn't you just do this.href
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nilesh Patel Sent: 16 August 2006 22:22 To: discuss@jquery.com Subject: [jQuery] $(this).getAttribute("href") Doesn't work hey , I found a solution that works correctly. try this.. $.attr($('a').get(0),'href') 100% works its called by first value is object, then 2nd value is attribute -- Nilesh B. Patel Contact: 704.723.6427 website: www.n-bp.com _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ This e-mail is confidential to the addressee and may contain privileged information. If you are not the addressee you are not permitted to use or copy this e-mail or its attachments nor disclose same to any third party. If this has been sent to you in error please notify us as soon as possible. We reserve the right to intercept and read e-mails sent or received by our employees. If you do not wish for your communications to be subjected to such scrutiny, you should not communicate via this e-mail system. We endeavour to exclude viruses from our data but it is the responsibility of the recipient to check any attachments for viruses. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/