window.addEventListener(\'load\', function () {
const urlParams = new URLSearchParams(window.location.search);
urlParams.forEach(function(value, key) {
const input = document.querySelector(\'input[name=\"\' + key + \'\"]\');
if (input) {
input.value = value;
}
});
});
Leave a Comment
You must be logged in to post a comment.