怎么用JavaScript实现对另一个网页的按钮点击

2025-04-13 02:57:37
推荐回答(1个)
回答1:

button 里面写上onclick=“fun()”;
在js里面写到的是function fun(){
window.location.href="url地址";
}