A few problems there:

1. the actual href says "http://www.redff.com/"; while you check for it
to be "http://www.rediff.com";. Difference there.
2. You first make the google links green, then you make them gray
since they match the second pattern as well.

Fixing that will make it work fine:
http://jsfiddle.net/6cV2N/

Reply via email to