$ 0 0 for dynamic buttons in for loop you should use the class and call the click event with that class