jQuery.fn

jQuery.fn

jQuery plugin

Source:
See:

Methods

(static) honey(paramsopt) → {Pot|Pots}

Automatically secure all forms inside jQuery object

Parameters:
Name Type Attributes Description
params string | Objects <optional>

set a reCaptcha sitekey if input a string, or change options if input an object

Source:
$('#1').honey();

$('#2').honey('someSiteKey'); // is short version of $('#2').honey().captcha('someSiteKey');

$('#3').honey({ theme : 'dark' }); // is short version of $('#3').honey().config({ theme : 'dark' });
Returns:
Type
Pot | Pots