Adding smileys to posts

i want to add a little side box next to the posts where users can click
smiley icons to insert them into the post.

i’m guessing that i’m probably going to use ajax/javascript but was
wondering if there are some easier ways to do this with some built in
rails functionality…or if there are already some other people who have
done this.

how do you think i should go about this?

anyone have any good javascript/ajax tutorial sites? i can never
remember how to do javascript offhand and always need a reference.