I am trying to remove the style attribute from a singular tr tag in a table when the corresponding tag is clicked. Have been trying some code but cannot find the solution.
here the fiddle: http://jsfiddle.net/q2nb08t6/12/ jQuery:
$(".tr_table").click(function(){
$(".tg_table").removeAttr('style');
//$(".tg_table").parent().find("tg_table").removeAttr('style');
//$(".tg_table").parent().removeAttr('style');
//$(".tg_table").each().removeAttr('style');
});