There are often questions on stackoverflow with a generic question title whilst the actual content drills down to an issue that may or may not be 100% relevant to the question title.
For example, I'm aware my answer in this question wasn't great - but I think it's a good illustration of the protocol I'm looking for information on.
The question title is
how to change specific text by using jQuery. Many future visitors will view this question looking for an answer to this generic issue that may or may not be identical to the OP's problem.
Now, it turns out that the solution to the OP's specific problem doesn't apply generally to the question listed in the title text. Is it against stackoverflow protocol to then provide an answer that isn't ideal for the specific content of the OP's question, but will help anyone looking at this question because of the more general title?
I got the feeling from the less-than-positive responses to my answer that providing general knowledge relating to the question title is looked down upon.