I have an issue with some ajax calls and was hoping for some help with this.
To save pasting huge chunks of code I have a quick example that can be tested to show the issue I am referring to. The issue as shown by the snippets below is as follows. I have a button on the page, Button A. When I click button A and ajax call is made and the returned data, another ajax button, this one called Button B is placed onto the page.
public function actiontestAjax()
public function actiontestAjax2()