Hacker News new | ask | show | jobs
by olavgg 3746 days ago
Actually, another way to do this is to create a form with the POST method that respond with status 204(which will not refresh the page). There is still no need to involve the XHR. I still think this solution is neat though.