Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
olavgg
on March 17, 2016
|
parent
|
context
|
favorite
| on:
The Single Piece of JavaScript on HN
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: