fadeTo() on whole paragraph but one word
I have a div with some content in it, within the content there's an anchor and when you click it all the content but the anchor itself should fadeTo('slow', 0.2);
What I have now is;
- $("p a#somelink").click(function()
- {
- $(this).parent().parent().children("p").fadeTo("slow", 0.2);
- return false;
- });
Which obviously just fades all paragraphs. Is it possible to do what I want and with which selection string would I achieve it?