jQuery/javascript replace tag type

Posted by Matrym on Stack Overflow See other posts from Stack Overflow or by Matrym
Published on 2010-05-12T01:52:10Z Indexed on 2010/05/12 1:54 UTC
Read the original article Hit count: 201

Filed under:
|
|

Is there an easy way to loop through all td tags and change them to th? (etc).

My current approach would be to wrap them with the th and then remove the td, but then I lose other properties etc.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery