Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get parameter from the actual url javascript

// https://testsite.com/users?page=10&pagesize=25&order=asc
const urlParams = new URLSearchParams(window.location.search);
const pageSize = urlParams.get('pageSize');
Source by javascriptf1.com #
 
PREVIOUS NEXT
Tagged: #parameter #actual #url #javascript
ADD COMMENT
Topic
Name
7+9 =