I have added HTML to my page using the .after() method using HTML that is retrieved from a .GET() 'Ajax' call.
I have a button in my retrieved HTML and an event that is set to be triggered when this button is clicked. However the method that handles the .click event is never triggered. When I put the same button into my 'normal' html however the method is triggered and the .click() works fine.
This happens in both Mozilla and Firefox. What can I do to get the retrieved button to be recognised by jQuery? I have all my code within the $(document).ready(function() { ... will this have any affect?