Created
June 6, 2017 00:54
-
-
Save esmeromichael/84ab1448641242aaf2420283f3642f23 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.add').on('click',function(){ | |
var main_std = $('.std').val(); | |
var main_min = $('.min').val(); | |
var main_max = $('.max').val(); | |
<input type="hidden" class="selling_std" name="selling_std[]" value="'+main_std+'"> \ | |
<input type="hidden" class="selling_min" name="selling_min[]" value="'+main_min+'"> \ | |
<input type="hidden" class="selling_max" name="selling_max[]" value="'+main_max+'"> \ | |
pricing level on change | |
$(this).closest('tr').find('.selling_std').val("0.00"); | |
$(this).closest('tr').find('.selling_max').val("0.00"); | |
$(this).closest('tr').find('.selling_min').val("0.00"); | |
$(that).closest('tr').find('.selling_std').val(stdprice2_cat); | |
$(that).closest('tr').find('.selling_max').val(maxprice2_cat); | |
$(that).closest('tr').find('.selling_min').val(minprice2_cat); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment