Nice and well written. I would suggest switching to a modern API instead and using fetch. There is a polyfill if you need to support older browsers.
fetch
Thank you! Yes, the next post will be how to do this in jQuery, and the one after that about using fetch.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice and well written. I would suggest switching to a modern API instead and using
fetch
. There is a polyfill if you need to support older browsers.Thank you! Yes, the next post will be how to do this in jQuery, and the one after that about using
fetch
.