This question of mine currently has a score of -1. It has been answered and helpfully commented on, so I don't need any more input on the subject at hand. Instead, I just want to know how I can improve the question, if indeed it needs improving.
I have read the tooltip on the downvote button ("This question does not show any research effort; it is unclear or not useful") and the thread "When is it justifiable to downvote a question?" and still have no idea how they apply to my question.
Keep in mind:
- I wrote the minimal example myself. It was not copied and pasted from somewhere.
- The jQuery tag is not mine. It was added by someone else. I had no say in the matter.
- I was not asking for a jQuery solution, as should be clear from my bothering to write the entire example in vanilla javascript. Since some people like suggest library-dependent solutions, however, I said "feel free" with regard to jQuery just to make them feel welcome, as I'm using it anyway. So far, no one has taken up the invitation, which is fine (better, in fact).