1ACC.payment = { 2 3 activateSavedPaymentButton: function(){ 4 5 $(document).on("click",".js-saved-payments",function(e){ 6 e.preventDefault(); 7 8 var titleHtml = $("#savedpaymentstitle").html(); 9 10 $.colorbox({ 11 href: "#savedpaymentsbody", 12 inline:true, 13 maxWidth:"100%", 14 opacity:0.7, 15 width:"320px", 16 title: titleHtml, 17 close:'<span class="glyphicon glyphicon-remove"></span>', 18 onComplete: function(){ 19 } 20 }); 21 }) 22 }, 23 bindPaymentCardTypeSelect: function () 24 { 25 ACC.payment.filterCardInformationDisplayed(); 26 $("#card_cardType").change(function () 27 { 28 var cardType = $(this).val(); 29 if (cardType == '024') 30 { 31 $('#startDate, #issueNum').show(); 32 } 33 else 34 { 35 $('#startDate, #issueNum').hide(); 36 } 37 }); 38 }, 39 filterCardInformationDisplayed: function () 40 { 41 var cardType = $('#card_cardType').val(); 42 if (cardType == '024') 43 { 44 $('#startDate, #issueNum').show(); 45 } 46 else 47 { 48 $('#startDate, #issueNum').hide(); 49 } 50 } 51} 52 53$(document).ready(function () { 54 ACC.payment.activateSavedPaymentButton(); 55 ACC.payment.bindPaymentCardTypeSelect(); 56}); 57 58 59
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.