CARLOS BOTERO schrieb:
> Im trying to highlight the parent row of the link on click, that part is
> working fine, what i need to do is to deselect the highlighted row once
> another link of a new row is clicked, if you have any suggestions please 
> let

try this, give the Table a ID
<table id="tableid">

<script type="text/javascript">
$(document).ready(function() {
    $("a").click(function() {
        $("#tableid tr").removeClass("highlight");
        $(this).parents("tr").addClass("highlight");
    }
});
</script>
-- 
Viele Grüße, Olaf

-------------------------------
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
-------------------------------

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to