Give this a go
http://mooshell.net/zLMKR/2
By the way the html is invalid
Its..
<dl>
<dt></dt>
<dd></dd>
</dl>
http://www.w3schools.com/TAGS/tag_dl.asp
-----Original Message-----
From: cbolson [mailto:[email protected]]
Sent: Wednesday, 11 November 2009 9:27 AM
To: MooTools Users
Subject: [Moo] select previous element in the document
Is there any method for selecting the previous element in the page to
the one that has been clicked?
I thought that getPrevious() would do it but it actually only works on
previous siblings (as per the docs).
To make my question clearer I have set up a very simple example in
mooshell: http://mooshell.net/zLMKR/
Hopefully from that example you can see what I am trying to do.
Thanks in advance for any help :)
Chris