Monday, June 9, 2014

html get checkbox value by id

try this:

 <input id="SelectedCB" type="checkbox" style = "z-index: 99999 !important; margin-top: 0px;" onchange="return getCustomer(this);" />  

   function getCustomer(ctrl) {  
       if ($('#SelectedCB').is(':checked'))  
       {  
         alert('checked');  
       }  
       else {  
         alert('Unchecked');  
       }  
       return false;  
     }  


C# print file on LAN Printer

If you want to print any file on network printer then you can try with this code block // Change Default Printer System.Ma...