- This topic is empty.
hello every body here
when i trying to add Common class to multiple divs , each div contains link inside divs have differents classes by this way
then when i set attr value to this classes
now the problem is : all classes abov have href=’http://google.com’
Create a reduced test case in Codepen.io and it’ll be a lot more clear to us what’s going wrong.
In your example above, I don’t see any code where you assign the classes “class1”, “class2” and “class3”, and I’m not sure why every DIV starts with a pound/hashtag.