const anch = document.getElementById('wsp_admin') let url = new URL(anch.href); url.searchParams.set('phone', telx); anch.href = url.toString();