You need to sign in to do that
Don't have an account?
Rahul Chowdary
how can we call a javascript function beforea vf page navigating to next page
i have scenario that i need to call a javascript function after the action method execution complets . i have used oncomplete() also but the problem is my page is navigating to next page so the oncomplete() is not working.
Thanks for your reply ...i am just calling console tool kit Api method called RefreshNavigationTab() ...
<apex:command button id="button" onclick="callMe()" action="{Navigator!}">
<script>
function callMe(){
sforce.console.refreshNavigationTab();
}
</script>
the navigator method will leads us to next page ...i want method should call first then java script method ..but onclick is calling first