I want to get the value from the href attribute from a parent element. 
My code is : $(this).parent().attr("href"); , but this doesn't work. I 
don't understand it because for the same parent $(this).parent().html(); 
gives me the expected output.

Any thoughts on this ? Thank you.


David




_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to