href=“[removed]” vs. href=“[removed]void(0)”

前端 未结 8 708
[愿得一人]
[愿得一人] 2020-12-04 08:16

Our web app is rendered totally on the browser.
The server only talks to the browser through JSON messaging.

As a result, we only need a single page for the app

8条回答
  •  甜味超标
    2020-12-04 09:15

    you could make them all #'s.

    You would then need to add return false; to the end of any function that is called onclick of the anchor to not have the page jump up to the top.

提交回复
热议问题