The text in my input is: test
What I want to do is end up with the next result:
some url + var
http://google.com/test
function off(){
var visit = $('#visit').val();
window.location = (visit);
}
Something like that:
window.location = "http://google.com/(visit)";
But the var is not acceptable