This page is currently revised

Announcing: BeezDesk CRM with Ticketsystem

1 minute, 23 seconds

beezdesk

### Tell me more about BeezDesk CRM System!

Subscribe for the BeezDesk CRM Newsletter to get the latest information right into your inbox. Just enter your Email-Adress and hit the button - and of course confirm your subscription by clicking on the link in the confirmation email!

$ymce = jQuery.noConflict(); jQuery(document).ready(function($ymce){ function blankFieldCheck() { err = 0; msg = ''; if($ymce('#0-04a879db6b-email').val() == '') { msg += '* Email Address'+"\n"; err++; } if(msg != '') { msg = 'Oops.. Don\'t forget the fill-in the following fields:'+"\n\n"+msg; alert(msg); } return (err > 0 ? false : true); } $ymce('#yks-mailchimp-form_0-04a879db6b').submit(function(e){ e.preventDefault(); // Make sure the api key exists if(blankFieldCheck()) { $ymce('#ykfmc-submit_0-04a879db6b').attr('disabled', 'disabled'); $ymce('#yks-status-0-04a879db6b').slideUp('fast'); $ymce.ajax({ type: 'POST', url: 'http://localhost/wordpress_mailbeez_EOL/wp-admin/admin-ajax.php', data: { action: 'yks_mailchimp_form', form_action: 'frontend_submit_form', form_data: $ymce(this).serialize() }, dataType: 'json', success: function(MAILCHIMP) { if(MAILCHIMP == '1') { $ymce('#yks-status-0-04a879db6b').html('

Thank You for subscribing! Check your email for the confirmation message.

'); $ymce('#yks-mailchimpFormContainerInner_0-04a879db6b').slideUp('fast', function(){ $ymce('#yks-status-0-04a879db6b').slideDown('fast'); }); } else { $ymce('#ykfmc-submit_0-04a879db6b').removeAttr('disabled'); $ymce('#yks-status-0-04a879db6b').html('Sorry the email address you entered was previously submitted.

'); $ymce('#yks-status-0-04a879db6b').slideDown('fast'); } } }); } return false; }); $ymce('.yks-field-type-date').datepicker({ changeMonth: true, changeYear: true, yearRange: ((new Date).getFullYear()-100)+':'+((new Date).getFullYear()), dateFormat: 'yy-mm-dd' }); $ymce('#ui-datepicker-div').addClass('yks-mailchimpFormDatepickerContainer'); });

Email Address

Next Post    Previous Post

Top