JQuery get the title of a button

You can get it by using .text(),

$('button').text();

Please read here to know more about it.

Leave a Comment