search for: contentbygrabbingtheir

Displaying 1 result from an estimated 1 matches for "contentbygrabbingtheir".

2006 Mar 01
3
RE: manipulate <td>''s and their contentbygrabbingtheir classNames
...gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Gregory Hill Sent: Wednesday, March 01, 2006 1:47 PM To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: RE: [Rails-spinoffs] manipulate <td>''s and their contentbygrabbingtheir classNames > Or... > > var myTDs = new Array(); > $A($("main").childNodes).each(function(tr) > { > $A(tr.childNodes).each(function(td) > { > myTDs.push(td); > }); > }); You''ll probably want to make sure the tr elements are TR tags and the sam...