this works, but it is effecting both divs... if i click either, they both toggle... i need to get each one to work independently.. thanks for your help so far
–
Matt NathansonJun 8 '10 at 21:28

Updated the answer as you were commenting - something like that? you want the next div after the span?
–
Dan HeberdenJun 8 '10 at 21:28

yeah, i'd like to say okay... i have this span class if i click it, i want it to expand the NEXT div, because in all cases, the div that i want to expand will be directly after
–
Matt NathansonJun 8 '10 at 21:34

You might make the w3c gods upset with that...
–
Dan HeberdenJun 8 '10 at 21:29

That may be but, screw em' :) I'd rather have w3c mad at me rather than make my code less readable. I invent my own attributes because it's easier to manage from the server site this way. If all my javascript is based off of data posted onto the html then I can quickly and easily prepopulate from server data.
–
Jonathan ParkJun 8 '10 at 22:04