Onclick shouldn't trigger form data submission

前端 未结 3 1218
梦谈多话
梦谈多话 2020-12-07 04:20

I just found out that every time onclick event for my

3条回答
  •  醉梦人生
    2020-12-07 05:14

    With jQuery use a span rather than an input, put use the .button call and then set a click event.

提交回复
热议问题