When additional buttons are added to a SugarCRM subpanel they are often for new quick create forms. The SugarCRM quick create uses a POST method and automatically refreshes the required subpanel.
In the case that you would like the button to trigger an Ajax call you will need to also tell the subpanel to refresh. One example would be that you would like to log a call that you left a voicemail and have it show up in the SugarCRM History subpanel with the click of a button. For these instances you will need to call the showSubPanel javascript function on success of the callback.
The javascript call will look like this: showSubPanel(‘history’,null,true);
The function definition is: function showSubPanel(child_field,url,force_load,layout_def_key)