<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<form name="myForm">
<input type="radio" name="a" value="
https://baidu.com">
https://baidu.com<br>
<input type="radio" name="a" value="
https://guge.com">
https://guge.com<br>
<input type="submit" value="Submit" onclick="go()">
</form>
<script>
function go() {
var url = document.forms["myForm"]["a"].value;
window.open(url)
}
</script>
</body>
</html>