I am currently working on creating a universal "like button" that updates a MySQL table after being clicked without the need to reload the page. I believe this task can be achieved using JavaScript, although I am unsure of how to interact with MySQL using it. Kindly provide solutions that involve pure JavaScript only as I do not utilize jQuery. Thank you.