Subversion Repositories SmartDukaan

Rev

Rev 18751 | Rev 18760 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18751 Rev 18754
Line 453... Line 453...
453
        // alert(msg);
453
        // alert(msg);
454
    });
454
    });
455
    var creditAvailable = $("input.css-checkbox:checked").attr('credit_available');
455
    var creditAvailable = $("input.css-checkbox:checked").attr('credit_available');
456
    if(creditAvailable=='true'){
456
    if(creditAvailable=='true'){
457
    	$('button.confirmcredit').prop( "disabled", true );
457
    	$('button.confirmcredit').prop( "disabled", true );
458
    	$('button.confirmcredit').attr('style', 'background-color: #B4CAB4');
458
    	$('button.confirmcredit').attr('style', 'background-color: #B4CAB4;');
459
    }else{
459
    }else{
460
    	$('button.confirmcredit').prop( "disabled", false );
460
    	$('button.confirmcredit').prop( "disabled", false );
461
    	$('button.confirmcredit').attr('style', 'background-color: #5cb85c');
461
    	$('button.confirmcredit').attr('style', 'background-color: #5cb85c;color: #fff');
462
    }
462
    }
463
}); 
463
}); 
464
 
464
 
465
$(document).on('click','#showmore',function(){
465
$(document).on('click','#showmore',function(){
466
    $("#showmoreaddressdropdown").toggle();
466
    $("#showmoreaddressdropdown").toggle();