button利用onclick实现页面跳转

1. onclick=”javascript:window.location.href=’URL’”

2. onclick=”location=’URL’”

3. onclick=”window.location.href=’URL’”

Table of Contents