I'm a pretty active user in jquery. I have been an active user for about 8 months now and I'm having a problem with a particular type of duplicate question.
The question has to do with why event handlers don't fire, or why widgets invoked on selected elements don't work on content loaded via AJAX or appended dynamically in some other fashion. There are so many duplicates of this exact problem:
- jQuery not working in AJAX Loaded page
- Making Jquery work within a page that was received via ajax.
- Jquery not working in Ajax calls
- Jquery not working on html called in from Ajax scripts
The list goes on and on and on. It's even hard to search for questions like these because the problems sometimes involve particular events, functions being called, etc., etc.
I would love to start closing these as duplicates.
However, I can't find a solid, well worded question and answer that I can link to when I would like to close it as a duplicate (please let me know if you find one that does).
At first as a new user I welcomed these problems ("OH I know that! Easy rep!"), but now I believe that posts like these are just cluttering the tag up.
I thought of two options:
- Write a question and answer it myself (or let the community answer it) just for the purposes of getting a decent question that encompasses issues of this type so that we can redirect people to it and start closing these types of questions.
- Add an entry in the tag wiki. This is probably a good idea, but how many casual/new users are actually perusing the tag wiki?
I'm sure this isn't the only situation in which a question manifests itself in different ways. What's the best way to deal with duplicates of this nature?