I\'m looking for a method to get a text from a button, which was dynamically created. I\'ve tried assigning an onclick when it\'s created, which only works for the last butt