HTML中如何实现一个button的跳转?

2025-02-02 20:56:11
推荐回答(2个)
回答1:

button类型的跳转,然后再JS代码 写在上面的,如:
function testButton(){
window.location="test.jsp";

}
window.location="test.jsp"; 这个地方写你跳转的页面, window.location="这个地方写你的路径名";

回答2:

不懂,你要怎么跳,写js代码就是了