On Wed, Jan 14, 2009 at 11:30, RNHurt <[email protected]> wrote <snip>:
> The only thing I'm struggling with right now is the fact
> that the cells I want to calculate are not just numbers but <form>
> elements. So, cell.innerHTML is something like <input id="grade1"
> value="20"> instead of "20". I've tried multiple things to coerce the
> value out of the cell but so far have not had much luck. Any hints?
You should be able to do this by replacing 'cell.innerHTML' with:
cell.select('input').readAttribute('value')
- Nich
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---