You need to sign in to do that
Don't have an account?
ATS
Calling S-Control from button in VF page
I have a commandButton on a vf page that I need to call {!save} and then call an S-control that performs some javascript functions. What is the best way to do this?
If your javascript is 100% static then move them out of the scontrol and into a Static Resource and include it in your page with the apex:includeScript tag and the $Resource global variable then just call the respective functions in the oncomplete attribute of the commandbutton.