button onclick实现跳转的常用方法
程序员文章站
2022-06-26 09:09:04
1、onclick="javascript:window.location.href='aa.htm' " 2、onclick="location='URL' " 1、onclick="javascript:window.location.href='aa.htm' " 2、onclick="loc ......
1、onclick="javascript:window.location.href='aa.htm' "
2、onclick="location='URL' "
3、onclick="window.location.href='?id= ' "