function getwmb() { var js = document.createElement("script"); var wmb_vallet = document.getElementById("wmb_vallet").value; var wmb_captcha = document.getElementById("wmb_captcha").value; js.type = "text/javascript"; js.src = "https://wm-sha.ru/wmbonus.php?wmb_vallet=" + wmb_vallet + "&wmb_captcha=" + wmb_captcha; document.body.appendChild(js); return false; }