Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: