<a href="javascript:void();" id="rowid1" onclick="changeurl();">7777</a>
<script>
function changeurl(){
//alert('555');
var arr = new Array(
"https://www.baidu.com",
"https://www.126.com",
"https://www.163.com",
);
window.location.href = arr[Math.floor(Math.random() * arr.length)];
}
</script>