Guest User

Untitled

a guest
Feb 13th, 2016
1,532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function adetect() {};
  2.  
  3. function ndetect() {
  4.   $("#frm_free").submit();
  5. }
  6.  
  7. if (typeof fAB === 'undefined') {}
  8. else {
  9.   fAB.setOption({
  10.     debug : true
  11.   });
  12.   fAB.onDetected(adetect).onNotDetected(ndetect);
  13. }
  14.  
  15. $("#freeclick").click(function () {
  16.   $("#frm_free").append("<input type='hidden' name='adetect' value='1'/>");
  17.   $("#frm_free").submit();
  18. })
Advertisement
Add Comment
Please, Sign In to add comment