ericakfranz
4/30/2015 - 7:54 PM

Simulate a submit button click in Canvas to set a cookie.

Simulate a submit button click in Canvas to set a cookie.

jQuery(document).ready(function($){
    $('#my-close-button').on('click', function(event){
      $('#om-canvas-whiteboard-optin-wrap .om-close').trigger('click');
    });
});