I know my signature is a little cheecky, but the first link is a very good resource describing
how to write a good question in any technical forum.
In addition to the points Liorean made, this link also mentions another "newbie" mistake I've seen a lot (and have fallen into, myself):
Ask a question that meets your goals (similar to Liorean's "be verbose"). If you have a broad goal in mind, state that goal and then the more specific question relating to how you think you can reach that goal. If your goal is to make a js menu, state that, and then describe your specific problem of using onclick. It may be that a CSS solution instead of using JS's onclick event would work better for your overall goal, and by telling us about that goal, we can direct you down the appropriate path.
__________________
If you want answers, write a
smart question.
Yes, someone probably does know how...
Oh, and if you want to learn,
STFW!