3.2.0

simple highlight

i have a simple table with onClick on each row. when the row is clicked it would display a different page on an iframe on same page. at the same time, i want the row to be highlighted when the user clicks another row the highlighted one should no longer be highlighted.
right now, when a user clicks the row it is highlighted but the highlight never vanish.

here's my code.. please help

<tr bgcolor=<?=$color?> class='regrow'
onClick="top.location.target='top_frame';
top.top_frame.location.href='gosearch.php?find=Find Acct&field=<?=$conttrack[1]?>&que=y';
this.bgColor='#09AAFF';"
onBlur="this.className='regrow'"
onMouseover="this.className='hlite';"
onMouseout="this.className='regrow';">
<td><?=$conttrack[0]?></td>
<td><?=$conttrack[1]?></td>
</tr>
lunch
June 23,

This topic is archived.

See also:


Back to support forum