document.querySelector("input").onclick = function() {
window.location.href = "http://profhelp.com.ua";
alert(window.location.href);
};
document.querySelector("input").onclick = function() {
window.location.href = "http://profhelp.com.ua";
};
- нет?