Advertisement
Guest User

Untitled

a guest
Aug 1st, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. <apex:form Id="form" >
  2.  
  3. <input type="submit" value="submit" id="subBtn" name="subBtn" />
  4. <apex:actionFunction name="doSubmit" action="{!submit}" />
  5.  
  6. </apex:form>
  7.  
  8. $("[id$=form]").validate({
  9. submitHandler: function(form) {
  10. doSubmit();
  11. }
  12. });
  13.  
  14. <apex:actionFunction name="doSubmit" action="{!submit}" oncomplete="return false;" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement