I\'d like to be able to remove one class from a div and add another upon the click of a button. But I can\'t get it to work.
Try this
$(".hiddennav").toggleClass("displaynone displayblock");