Results / Health
Our
Community.
The Road Less Travelled – Growing a Business While Starting a Family
Say Hello.
Connect with our solutions team today to find out how WebMarketers can take your brand to the next level.
Connect with Solutions Team.
window.addEventListener('DOMContentLoaded', function() {
jQuery(document).on('gform_post_render', function() {
jQuery('input').each(function() {
jQuery(this).on('focus', function() {
jQuery(this).parent().parent('.gfield').addClass('selected');
});
jQuery(this).on('blur', function() {
if (jQuery(this).val().length == 0) {
jQuery(this).parent().parent('.gfield').removeClass('selected');
}
});
if (jQuery(this).val() != '') jQuery(this).parent('.css').addClass('selected');
});
jQuery('textarea').each(function() {
jQuery(this).on('focus', function() {
jQuery(this).parent().parent('.gfield').addClass('selected');
});
jQuery(this).on('blur', function() {
if (jQuery(this).val().length == 0) {
jQuery(this).parent().parent('.gfield').removeClass('selected');
}
});
if (jQuery(this).val() != '') jQuery(this).parent('.css').addClass('selected');
});
jQuery('select').each(function() {
jQuery(this).on('focus', function() {
jQuery(this).parent().parent('.gfield').addClass('selected');
});
jQuery(this).on('blur', function() {
if (jQuery(this).val().length == 0) {
jQuery(this).parent().parent('.gfield').removeClass('selected');
}
});
if (jQuery(this).val() != '') jQuery(this).parent('.css').addClass('selected');
});
});
});