on change by two class code example Example: jquery select element with two classes $('.class1.class2') // select element that has both class1 and class2