Give your UL an ID. For the example, I used 'moo'.


You should see "item3" appear in the alert box.

On Mar 26, 9:51 am, smartcookie <[EMAIL PROTECTED]> wrote:
> Given this structure:
> <ul>
> <li>item1</li>
> <li>item2</li>
> <li>item3</li>
> </ul>
> Whats the best method of finding the last item in the list?
> thanks
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to