.btnmbl1 { font-weight: bold; font-size: 15px; color: Black; font-family: Calibri; width: 100px; height: 70px; border-style: none; background-image: url(../images/Button_Mobile_R2.gif); } .btnmbl1:focus, .btnmbl1:hover { background-image: url(../images/Button_Mobile_R2_1.gif); }
you already got it [Solution by MuhammadUSman1]
by using. button.attribute.add("cssclass","class Name")
$("button").click(function(){ $("h1,h2,p").addClass("blue"); $("div").addClass("important"); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)