button javascript works on IE but not firefox window.navigate()

后端 未结 6 1906
无人及你
无人及你 2020-12-07 03:29

This works on IE8, but not firefox or opera. An

6条回答
  •  醉话见心
    2020-12-07 03:57

    Google
    
    • links want to be links
    • links afford navigation, buttons afford actions. This is navigation
    • depending on JS is a bad idea

    … and "back" is a poor choice of link text. Either a link or your IE specific JS will take the user forward. It will add a URL to the end of the user's history. It won't activate the browser's Forward functionality.

提交回复
热议问题