Beginner's question on updating a div on submit

Hello, thanks for reading my question first:
Say I have in my database a table that contains recipes and a table
that contains comment on recipes so I am thinking giving each comment
an ID of recipe that it's commenting on. But I want to do something
fancier: I want to have a list of comments on the recipe page, and a
popup form for viewer to comment on a recipe on the same page, and then
(my question here:) when a user finish writing up their comment, and
hits submit, the comment goes to the comment table in the database and
without refreshing, my div that contains the list of comment on the
recipe page refreshes to show the newly added comment. Is this easy to
do?

Thanks for answering my question!

Nik