javascript - How can I add or update a query string parameter?

preview_player
Показать описание
#short
#javascript
#jquery
#query-string
With javascript how can I add a query string parameter to the url if not present or if it present, update the current value? I am using jquery for my client side development.
Рекомендации по теме