Next charge date: '+nextChargeDate+'
'); }); }); }); if($('.productView-info:contains("CustomSub")').length > 0){ $('[for="attribute_rectangle_145_142"]').hide(); $('.form-option-variant:contains("Forever Roll XL 13.2 in.")').hide(); $('.productView-info:contains("CustomSub")').hide(); $('.form-field:contains("Send every") .required-label').hide(); //$('.form-input--incrementTotal').val('3'); var counter = 0; $('.form-field:contains("Send every")').find('label').each(function(){ $(this).addClass(''+ counter); counter++; if($(this).hasClass('0') || $(this).hasClass('1')){ }else{ //$(this).hide(); $(this).attr("style", "height: 1px; width: 1px; position: absolute; overflow: hidden; visibility: hidden;"); } }); var counter = 0; $('.form-field:contains("Send every")').find('input').each(function(){ $(this).addClass(''+ counter); counter++; }); $('.form-label:contains("One-time purchase")').append('This radio group is the One Time Purchase and Subscription option radio group. Your current selection is one time purchase.'); $('.form-label:contains("One Time Only")').append('This radio group is the One Time Purchase and Subscription option radio group. Your current selection is one time purchase.'); $('.form-field:contains("Send every")').append(''); $('.form-field:contains("Send every")').append('