In my code, I am having two divs with the attribute myattr with different values. With *= operator in jQuery attribute selector, I want to select the attribute containing the value subject i.e. javasubject and htmlsubject ? On selection, change the background of the selected element.