how to add two classes in jq code example Example: how to add two classes in jq $("p").addClass("myClass yourClass");