Can I use some jquery where I can change the css attributes in a single line , more like
$("#box").css("height":"40px",
"width":"40px"
);
instead of 2 lines of code like this?
$("#box").css("height","40px");
$("#box").css("width","40px");
Aucun commentaire:
Enregistrer un commentaire