Thursday, December 10, 2009

[jQuery] Traversing Help

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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate