Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

create url with query parameters javascript

var query = new URLSearchParams();
query.append("KEY", "VALUE");
var url = "http://site.com/page?" + query.toString();
 
PREVIOUS NEXT
Tagged: #create #url #query #parameters #javascript
ADD COMMENT
Topic
Name
5+6 =