You need to sign in to do that
Don't have an account?
Veni
Action support onclick event is not working....please help me..........................
for my project i written one
<apex:form>
<apex:outputpanel id="counter">
<apex:outputText value="Click Me!: {!count}"/>
<apex:actionSupport event="onclick"
action="{!incrementCounter}"
rerender="counter" status="counterStatus"/>
</apex:outputpanel>
<apex:actionStatus id="counterStatus"/>
</apex:form>
in my controller
but its onclick event not working in this page..
Integer count = 0;
public PageReference incrementCounter() {
count++;
return null;
}
public Integer getCount() {
return count;
}
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?