Displaying 1 result from an estimated 1 matches for "platform_category".
2008 May 19
6
obtaining table cell text data
...table based on the contents of
particular columns. My event handler starts off like this:
subsetChange: function(e) {
var subset = $F(''subsetSelector'');
var rows = $$(''.content-row'');
rows.each(function(row) {
var value = row.down(''.Platform_Category'').childNodes[0].data;
switch (subset) {
... show/hide rows based on whether the value matches the user
selected subset ...
My question is whether there is a more Prototype-ish way to get the
values from my table cells instead of using ".childNodes[0].data".
Thanks...