Get button text value on click via javascript

I have some dynamically generated buttons.

I was to retrieve the button text via javascript.

Something like:

alert(jQuery(this).attr("button_text"));

Is this possible?
1 person has
this question
+1
This topic is no longer open for comments or replies.