I know to apply css to DOM using jquery using .css() , I want to know is there any .attr or .att method so that I can assign align attribute to table header using jquery. If yes please show me the code.
<table>
<th >
</th>
<th >
</th>
<th >
</th>
</table>