You need to sign in to do that
Don't have an account?
gv007
oncomplete not working in command button
<apex:commandButton id="btn" value="Search" action="{!method}" oncomplete="onCompleteRefresh();"
onClick="loading();" reRender="frm" />
while I am clicking on the command button oncomplete not invoking javascript function.there is any other way to handle it.
onClick="loading();" reRender="frm" />
while I am clicking on the command button oncomplete not invoking javascript function.there is any other way to handle it.
You have to reRender only specific component not all form or in other words you need to reRender components apart from this button. This button should not be included in reRender process.
Hope it helps.. :)
As per my understanding reRender and oncomplete cont be used at a time.but it is working pas 4 four year in diffrent sandboxes and still working
based on my debug oncompte java script not kicking.