javascript onclick跳转链接网页

  • Post author:
  • Post category:java


<input


type=button


value=click


οnclick=”window.location=’你要转向的页面'”>

<input


type=”button”


value=”返回”


οnclick=”window.location.href=’你要转向的页面'”>

<input


type=”button”


value=”返回”


οnclick=javascript:location.href=’你要转向的页面’>