Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function adetect() {};
- function ndetect() {
- $("#frm_free").submit();
- }
- if (typeof fAB === 'undefined') {}
- else {
- fAB.setOption({
- debug : true
- });
- fAB.onDetected(adetect).onNotDetected(ndetect);
- }
- $("#freeclick").click(function () {
- $("#frm_free").append("<input type='hidden' name='adetect' value='1'/>");
- $("#frm_free").submit();
- })
Advertisement
Add Comment
Please, Sign In to add comment