<apex:actionFunction name="submitExpJS" action="{!submitExpenses}"
oncomplete="refreshMe();" reRender="messagePanel"/>
<script>
function refreshMe() {
alert('refresh');
}
</script>
The function refreshMe()
is not getting invoked.
Best Answer
I thought I would post this working sample code that I tried in my Developer edition org.
Controller:
VF page: