Sorry, the right link is http://jsbin.com/ekuyo
On Dec 10, 11:32 am, "T.J. Simmons" <theimmortal...@gmail.com> wrote: > Hi all, > > I'm pretty bad at DOM traversing (can't get hierarchies right in my > head, I guess) and I'm in a situation where it's basically my only > option to get the value that I need. > > Here's some example HTML of what I'm trying to do. > > http://jsbin.com/uxofo > > with the basic formula of MID: and the following div being able to be > repeated many times. > > What I'm trying to do is go into everything with a class of thingS, > and go to the hdnMID before it to get the value. > > And it's giving me 'undefined' as the value I'm getting. > > Any help please? > > Thanks, > T.J.