So the other day I was looking into a good way of injecting some asp mvc action into an id'd container. I've done some browsing through google with site:stackoverflow.com. There were multiple similar questions regarding the topic. Since I wasn't comfortable with any of the given solutions I created my own.
I then posted it as answer to the top 3 questions on Google, so everyone who stumbles across the same question, in order to find a good solution, will find it too. If you look at it you can see that I put in some effort to craft a type safe solution readily usable as extension method, so I only wanted to do a good deed by sharing it.
However my answer was then deleted despite being correct and being different from other answers in that question.
I don't see what's wrong with copy pasting my own answer into other questions if it helps the person, since each question should be answered standalone rather than just crossreferencing?
One of the questions would be here:
How do you refresh the contents of a div in jquery?
I'd be interested in moderator replies on this in particular. Just wondering if everyone would have decided like that.
I looked into this: Copy-pasting the contents of another answer to the same question — with attribution (which is a different case)
and this: Can we auto-flag answers that are clearly copy-pasted?
where ChrisF wrote:
As a regular user, as long as the answer is correct, then all you can do is leave a comment for the poster telling them that they should be flagging duplicate questions rather than answering. If the answer is incorrect then obviously a down-vote is welcome.
which I agree with, if it's a fresh question. But if it's an older one it'll display variations of methods to approach a solution, which would be sad to lose. Personally I had about 5-10 "oh nice. that is a way better solution"-moments just from browsing through some answers.