Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to add parameters to url javascript

// Easy Way - how to add parameters to url javascript

const MyURL = new URLSearchParams(window.location.search);

MyURL.set('Name', 'HazaaZOOZ');

window.location.search = MyURL;
 
PREVIOUS NEXT
Tagged: #add #parameters #url #javascript
ADD COMMENT
Topic
Name
1+9 =