About this question
So I'm currently working off the example for apex:actionSupport given in the VF dev docs. All is fine with the example. I am now looking to have a button click initiate the refresh of the counter variable. I changed the VF page to the following:
When I hit the command button I'm seeing that the counter variable increments and displays for a couple ms but then gets reverted back. I believe this might have something to do with order of getters/setters interacting with the AJAX refresh? I could be wrong, but I'm looking for an explanation of why this behaviour occurs ( as I'm assuming this is working as designed).