JQuery get the title of a button

前端 未结 8 1225
遇见更好的自我
遇见更好的自我 2020-12-30 18:33

I have a button:


Which makes this:

8条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-30 19:19

    This worked for me on chrome.

    $("#your-button-id").val();
    

提交回复
热议问题