Last active
September 27, 2016 02:20
-
-
Save danieliser/3c8c4748811e517eb61f to your computer and use it in GitHub Desktop.
Popup Maker: Set custom auto open cookie when form submitted.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery('#popmake-123 form').on('submit', function () { | |
jQuery.pm_cookie( | |
'pum-123', // The cookie name that is checked prior to auto opening. | |
true, // Setting a cookie value of true. | |
'10 years', // Plain english time frame. | |
'/' // Cookie path of / means site wide. | |
); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment