+ Start a Discussion

Action support onclick event is not working....please help me..........................

for my project i written one




        <apex:outputpanel id="counter">
            <apex:outputText value="Click Me!: {!count}"/>
            <apex:actionSupport event="onclick"
                                rerender="counter" status="counterStatus"/>
        <apex:actionStatus id="counterStatus"/>




in my controller



Integer count = 0;

public PageReference incrementCounter() {
return null;

public Integer getCount() {
return count;
 but its onclick event not working in this page..


but i copy this same code,and put in new page its fine..i dont know why this code not run some apexpage

and controller..plzhelp me...


Works fine on my dev environment too.


This smacks that there's some problematic javascript elsewhere in the page.  Can you post the whole page?