In a web application that makes use of AJAX calls, I need to submit a request but add a parameter to the end of the URL, for example:
Original URL:
I would go with this small but complete library to handle urls in js:
https://github.com/Mikhus/jsurl