ssdevas 0 Newbie Poster

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.