Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. function fraudCheck1(){
  2. funcCheckFraud();
  3. var check = {!fraudCheckFlag};
  4.  
  5. if(check == false){
  6. var c = confirm('Mismatch found. Do you want to continue?');
  7. if(c == true)
  8. return true;
  9. else
  10. return false;
  11. }
  12. else{
  13. return true;
  14. }
  15. }
  16.  
  17. <apex:actionfunction name="funcCheckFraud" action="{!checkFraud}" onComplete="alert('After apex method');" reRender=""/>
  18.  
  19. public void checkFraud() {
  20. fraudCheckFlag = true;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement