c# - Applying align attribute to table header using Jquery -


i know apply css dom using jquery using .css() , want know there .attr or .att method can assign align attribute table header using jquery. if yes please show me code.

<table> <th > </th> <th > </th> <th > </th> </table> 

here sample code $(element).attr("nameattr",valueattr); can add attribute html element


Comments

Popular posts from this blog

All overlapping substrings matching a java regex -

c++ - Using OpenSSL in a multi-threaded application -

php - Deleting/Renaming a locked file -