[wd_asp elements=’search’ ratio=’100%’ id=1]

Switch / Swap/ Change Class or ID

13th June 2013

CSS

Css - Codehaven

$( "#submitboard" ).switchClass( "#submitboard", "submitboardnew", 1000 );

I changed the id called ‘touser’ to ‘dogs’ below
$('#touser').attr('id','dogs');

This changes the id of submit board to the class of submitboardnew.
You can use id or class in this example.