I have a table with id and a class. I am using a plugin to fix the first two column and the header in order to meet my requirements. My table is defined by the tag:
<table class="fancyTable" id="myTable03" cellpadding="0" cellspacing="0">
I wanted to add another features to this table. After inspecting the DOM through firebug, I found out that the table is broken up into two parts by the plugin(I supposed). While one part of the table becomes
<table class="fht-table fancyTable" style="margin-top: 0px;">
and the other one becomes
<table id="myTable03" class="fancyTable fht-table fht-table-init" cellspacing="0" cellpadding="0" style="width: 926px; margin-top: -40px;">
I want to add attribute id to the table containing the class "fht-table fancyTable". How can i do that? I'm using Jquery/javascript.