Here's the code that I want to modify:
a[href*="google"]
Now what I want to do is to add multiple keywords such as google, yahoo, etc. I tried doing like this and this worked fine:
a[href*="google"],[href*="yahoo"]
But now I'm trying to get data from array, e.g:
var array = ["google",yahoo","etc"]
What should I write now? Confused with the code. :(
These aren't working:
1. a[href*=array]
2. a[href*=[array]]