I have a siteA poster can ask a question about a movie that he/she is unsure of

Then people can answer

If anyone's post is selected as the right answer then I want the poster image to show up in their comment box for the movie.

When you answer a question about a movieYou can enter

The movie nameIMDB linkIMDB ID

So what I want to know is, well I know that there is some javascript onlick function that takes the "select as right answer" clicking action by the Question asker and calls a script which outputs or echos the right answer message. Or this answer is correct message. I want to also summon the IMDB poster image for that commenter if he / she is selected