Change <body id="grid"> to <body class="list"> with jQuery..
- by Johua
So i know how to change an id: $("body").attr('id', 'list');
But i wanna change the atribute itself, instead of id=grid i wanna have class=list
example:
<body id="grid">
<body class="list">
thy