<script>
function js(){alert("a")}
</script>
<script language=vbscript>
sub vbs()
msgbox "b"
end sub
</script>
<body onload="js();();">
<input type=hidden name="load" onclick="vbscript:vbs">
I used the hidden button. After the page load, I first executed js, and then automatically triggered the click event of the hidden button to execute the vbs code, paying attention to other better methods.
</body>