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;  
     }  


Ensure that this project has Microsoft.Bcl.Build installed and packages.config is located next to the project file

In my Xamarin form application their was dependency Restclient on Microsoft.Bcl.Build Microsoft.Bcl. i just remove all using nuget and ...