'; html += ''; html += '券老大-中国最大的优惠券网站肯德基优惠券,kfc优惠券,肯德基手机优惠券,肯德基电子优惠券'; html += ''; html += '

                '; html += '
                '; var is = 0; $(".onecoupon").each(function() { var value = parseInt($(this).find('.selectcount').val()); if(value != "0"){ var a = $(this).find('.cutimag').find('a'); var son = ''+a.find('img').attr('alt')+''; for(var i = 1;i<=value;i++){ is = 1; html += son; } } }); if(is == 0){ alert('请选择需要打印的优惠券数量'); return; } html += '
                '; runEx(html); } function runEx(code) { var b = window.open("", "", ""); b.opener = null; b.document.write(code); b.document.close() }