Handle click() with element have the same class
Here is my JSFiddle
Hello, I am new in jQuery. I have trouble when using the same class in element. I have 3 DIV.item, when I click each of them. DIV.container > h2 inside add Class .red (only in element I clicked).
I using class because I want when I show them up from database, they have the same style. My project is more harder than this but I think I will understand with this small example.