I have to dynamically add table on pressing the add table button(on clicking a button) and have to change the table id so that the new table will have different id with different
<table id="dataTable">
<tr>
<td>FACILITY</td>
<td><select id="select1" onchange="loadxml2()" ></select></td>
</tr>
<table>
in the code above on clicking the add button(which i have not created) table should reappear with id select id select1 changed to select2.Can anyone help??.Got struck up with this for a long time.