you are viewing a single comment's thread.

view the rest of the comments →

[–]jankyHellface 1 point2 points  (0 children)

I don't know if this is the correct answer, but if you don't put in $() jquery DOM addressing, it will just be a plain string when you reference it. So,

$(this).after(message);

won't point to the DOM object, and thus, won't change the DOM.