Get Url Use Javascript
const queryString = window.location.search;
console.log(queryString);
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const page_type = urlParams.get('color')
console.log(page_type);
From : https://easyautotagging.com/javascript-get-url-parameter/
Get Url Use Javascript
Reviewed by Leo
on
Maret 17, 2022
Rating:
Tidak ada komentar