I am having two functions one is java script function named as Capturing Signature() and anther one apex class function named as savePDF(). I am trying to call this two methods on button's onClick method in VF Page. For this so far i have tried this.
**This code calling only one method "SavePDF()"**
<input id="saveSigButton" type="button" name="SigCap" onclick="CaptureSignature();savePDF();" value="Submit"/ >
*This code calling only one method "CaptureSignature()"**
<input id="saveSigButton" type="button" name="SigCap" onclick="CaptureSignature(),savePDF()" value="Submit"/ >
Kindly help to resolve this.Thanks in advance