How do I access each link, say, inside a DIV? 
 
Let's say I have something like this:
 
<div class="top_menu">
<a href="option1.html">Option 1</a>
<a href="option2.html">Option 2</a>
</div>
 
<div class="bottom_menu">
<a href="option3.html">Option 3</a>
<a href="option4.html">Option 4</a>
</div>
 
Thing is I don't know in advance what the text, or even the href for the links 
ahead of time. Even the number of links is subject to change, so I can't use 
the :index. How can I just specify that I want the links in one div or the 
other?
 
Thanks.
 
daniel
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to