Changing class name in onMouseOver

Reply

Join Date: Feb 2005
Posts: 1
Reputation: ssdevas is an unknown quantity at this point 
Solved Threads: 0
ssdevas ssdevas is offline Offline
Newbie Poster

Changing class name in onMouseOver

 
0
  #1
Feb 20th, 2005
Hi,

I have an HTML table which has OnMouseOut events on rows for hiliting and selecting alternate rows. Each alternate rows uses [onMouseOut="this.className='BrownRow'"] to hilite alternate rows. As I filietr rows based on some criteria, I want to change the className for onMouseOut where I use the following script line while looping thru rows -

row.attributes.getNamedItem("onMouseOut").value = "this.className='BrownRow'";

Though this seemingly sets the value, the effect on onMouseOver does not take efect. Can someone suggest why and what could be the solution?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC