Ah, even more reason to use dojo then :) No need to embed the script into each table row.
On 1/18/06, nav C <[EMAIL PROTECTED]> wrote: > > The use case is to just change color, but the problem I have is to make > the table component generate html which has javascript embedded in every > row. > Thanks, > NavC > > Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > That depends on what you want to happen with the row other than the > color > changing. Is that all, or do you want to be able to do something else > based > on the color change? > > You might want to look at http://dojotoolkit.org for an easy way to handle > js events. > > On 1/18/06, nav C wrote: > > > > I needed to be able to change the color of a row when a checkbox is > > selected in the row of a tapestry table, like in hotmail on selecting a > mail > > in the mailing list,color of the row changes. > > I want to do this using Javascript and not a server-side refresh. Is > > there an easy way to achieve the same ? > > Thanks, > > NavC > > > > > > --------------------------------- > > Yahoo! Photos > > Ring in the New Year with Photo Calendars. Add photos, events, holidays, > > whatever. > > > > > > > --------------------------------- > Yahoo! Photos > Ring in the New Year with Photo Calendars. Add photos, events, holidays, > whatever. >
