Re: [OT] DOM & JavaScript

2005-04-28 Thread gdeschen
"Struts Users Mailing List" Subject Re: [OT] DOM & JavaScript Classification Actually, I'm not entirely sure :) I can't remember ever using an anonymous function in JS myself frankly, but I remembered a sample that Martin posted a week or so ago during our d

Re: [OT] DOM & JavaScript

2005-04-28 Thread Frank W. Zammetti
005 10:47 AM > Please respond to > "Struts Users Mailing List" > > > To > "Struts Users Mailing List" > cc > "Struts Users Mailing List" > Subject > Re: [OT] DOM & JavaScript > Classification > > > > > >

Re: [OT] DOM & JavaScript

2005-04-28 Thread gdeschen
Excellent Frank, thanks a million !!! What was your inspiration for this ? - Glenn "Frank W. Zammetti" <[EMAIL PROTECTED]> 28/04/2005 10:47 AM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc "Struts Users Mailing

Re: [OT] DOM & JavaScript

2005-04-28 Thread Frank W. Zammetti
ent hierarchy along with the event firing > sequence... > Since I'd like to hilite the row... now it is hiliting the cell of a > row... :( > > - Glenn > > > > Laurent <[EMAIL PROTECTED]> > 28/04/2005 09:11 AM > Please respond to > "Struts Users M

Re: [OT] DOM & JavaScript

2005-04-28 Thread gdeschen
t;[EMAIL PROTECTED]> 28/04/2005 09:11 AM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: [OT] DOM & JavaScript Classification [EMAIL PROTECTED] wrote: > // Only add a row when changing the last row of the table > if

Re: [OT] DOM & JavaScript

2005-04-28 Thread gdeschen
List" cc "Struts Users Mailing List" Subject Re: [OT] DOM & JavaScript Classification How about trying one last thing... how about instead of using the row reference you get back from insertRow(), instead do a getElementById() to get a new reference and try setting

Re: [OT] DOM & JavaScript

2005-04-28 Thread Laurent
[EMAIL PROTECTED] wrote: > // Only add a row when changing the last row of the table > if ("s"+(rowWithData) == selectId) { > var row = table.insertRow(lastRowInTable); > var className = "rowNormal"; > > if (lastRowInTable % 2 == 0) { > className = "rowAlter

Re: [OT] DOM & JavaScript

2005-04-28 Thread Frank W. Zammetti
t;Frank W. Zammetti" <[EMAIL PROTECTED]> > 27/04/2005 05:13 PM > Please respond to > "Struts Users Mailing List" > > > To > Struts Users Mailing List > cc > > Subject > Re: [OT] DOM & JavaScript > Classification > > > > > &

Re: [OT] DOM & JavaScript

2005-04-28 Thread gdeschen
;[EMAIL PROTECTED]> 27/04/2005 05:13 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: [OT] DOM & JavaScript Classification Interesting indeed... How about trying this... change the two lines that dynamically add

Re: [OT] DOM & JavaScript

2005-04-27 Thread Frank W. Zammetti
Schedule - Glenn "Frank W. Zammetti" <[EMAIL PROTECTED]> 27/04/2005 04:27 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: [OT] DOM & JavaScript Classification Hmm... I notice that the JSP code is ref

Re: [OT] DOM & JavaScript

2005-04-27 Thread gdeschen
le - Glenn "Frank W. Zammetti" <[EMAIL PROTECTED]> 27/04/2005 04:27 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: [OT] DOM & JavaScript Classification Hmm... I notice that the JSP code is referencing on

Re: [OT] DOM & JavaScript

2005-04-27 Thread Frank W. Zammetti
Hmm... I notice that the JSP code is referencing onMouseOver, while your Javascript is trying to set the attribute onmouseover... I wonder if the capitalization difference is an issue? Certainly, if setAttribute() takes case into consideration that would do it. You said the lines were identic

[OT] DOM & JavaScript

2005-04-27 Thread gdeschen
Greetings, Once again I call on my trusted community for insight ! I'm adding a row to a table dynamically. All is working well except for one thing the Mouse events. Here is the code for adding a row to the table. There is more code that adds the cells to the table (not shown). ... // Only add