0

My html+js+form.html:

http://pastebin.com/Pe4apW02

I have also a css, but its not important now. So my problem is, when i insert a new row, it wont be highlighted, just the others which is i created the table in the beginning. I tried:

    $("#shipmentTable tr").click(function(){
        $(this).addClass("selected").siblings().removeClass("selected");
    });

and css for the table:

        .member tr.selected {
        background-color: rgba(41, 103, 182, 0.89);
        color: #FFF;
    }

but what i said i isnt working correctly. Can anyone helps to me?

luigi
  • 1
  • 4

0 Answers0