Changing html content of a div before and after ajax request
- by R27
I am trying to change the button "ADD" (in a div) to some text/img as soon as it is clicked. And after the ajax request is processed, in the success block , I want the div to get the button back.
I see the ajax request is itself not getting processed. Can someone explain whats my mistake.
I just removed the jsfiddle link and pasting the script…