Help me understand [removed]void(null)

前端 未结 4 1524
旧时难觅i
旧时难觅i 2021-02-19 11:15

can someone please help me with this javascript:void(null) I found it used in link buttons as follows



        
4条回答
  •  不思量自难忘°
    2021-02-19 12:02

    javascript:void(null) = do nothing.

    Notice there is a javascript call in the onclick event handler - that does something (I'm guessing it accepts data by processing the response ;).

提交回复
热议问题