How could I get the ID from a parent div of my element?
I think that will be the shortest path to do what i need, as described
bellow:
Example:
<div id="1" class="company">
<div class="name">Some Company</div>
<div class="moreinfo">Something about the company</div>
</div>
<div id="2" class="company">
<div class="name">Other Company</div>
<div class="moreinfo">Something about the other company</div>
</div>
I'm trying to do a company list of my city.
The ".moreinfo" will be showed when clicked into "Some Company" or
"Other Company", obviously showing just more info of the clicked company.
Thanks a lot!
Villa, Gustavo.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/