[Proto-Scripty] Re: Traverse table cells

2010-12-14 Thread RobG
On Dec 3, 6:16 am, KenB kenber...@gmail.com wrote: I am new to prototype and need to learn how to traverse an html table and hide some columns. The only id I have is table id or the class it is associated with. Can anyone give me an example? Here is what I am trying to accomplish.  var

[Proto-Scripty] Re: Traverse table cells

2010-12-03 Thread KenB
T.J. Thank You. I'm not sure how that space got in there but it isn't in my code. THanks again! K On Dec 2, 5:02 pm, T.J. Crowder t...@crowdersoftware.com wrote: Hi, The Prototype equivalent of `getElementById` is `$`, and then from that element the method for getting the elements matching a

[Proto-Scripty] Re: Traverse table cells

2010-12-02 Thread T.J. Crowder
Hi, The Prototype equivalent of `getElementById` is `$`, and then from that element the method for getting the elements matching a CSS selector is `select`. Prototype has a `setStyle` wrapper around style stuff that smooths out some rough spots for you, and a `hide` function that is the