﻿function checkHumanVerification(a) { var b = jQuery(a).closest('form'); if (b.length > 0 && b.data('validator') !== undefined) { b.validate().element(a) } } function createHumanVerification(b, c) { jQuery.post(c, function(a) { b.text(a) }) } function addRemoteValidation(a, b) { var c = jQuery(a).closest('form'); if (c.length > 0 && c.data('validator') !== undefined) { jQuery(a).rules("add", { remote: { url: b, type: "post", data: { value: function() { return jQuery(a).val() } }} }) } }