(function($) { "use strict"; $(document).ready(function() { // Check Click1 :) $(".checkclick1").on( "change", function() { if(this.checked){ $(this).parent().parent().parent().parent().next().removeClass('showbox'); } else{ $(this).parent().parent().parent().parent().next().addClass('showbox'); } }); // Check Click1 Ends :) // Product Measure :) $("#product_measure").on( "change" ,function() { var val = $(this).val(); $('#measurement').val(val); if(val == "Custom") { $('#measurement').val(''); $('#measure').show(); } else{ $('#measure').hide(); } }); // Product Measure Ends :) }); // TAGIT $("#metatags").tagit({ fieldName: "meta_tag[]", allowSpaces: true }); $("#tags").tagit({ fieldName: "tags[]", allowSpaces: true }); // TAGIT ENDS // Remove White Space function isEmpty(el){ return !$.trim(el.html()) } // Remove White Space Ends // Size Section $("#size-btn").on('click', function(){ $("#size-section").append(''+ '