title: wordpress/php: create an upvote button that does not refresh page
body: <p>Beginning developer here, making a website using wordpress as a platform. I would like the user to be able to click an upvote button and upvote a post without refreshing the page. I figure I should probably use javascript to highlight the button once clicked as well as change the vote number. However, I am having trouble figuring out how to run a php script (to update the database) without refreshing the page. </p>
  
  <p>Thanks in advance,</p>