On my html page, there is a button which initially have the class name “show-update”. After clicking on that button, that button will be changed to another class name and i want to set another clicking event to that particular class. However, i am still not successful to do that. Is there anyone know how to fix it ? I am using jquery 1.72
This is my code http://jsfiddle.net/dwGCH/1/
I have updated the JSFiddle http://jsfiddle.net/dwGCH/3/