0
pointer-events: none; 

This doesn't work in IE but works in Chrome, I need to disable checkboxes in IE, is there any way to disable checkboxes from CSS?

Patrick
  • 5,526
  • 14
  • 64
  • 101
shwetha
  • 11
  • 6

1 Answers1

0

try with js

    $(window).load(function() {
      $('.wrapper input[type="checkbox"]').attr('disabled', true);
    });
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="wrapper"><label>disabled input <input type="checkbox"></label></div>
Dmytro Lishtvan
  • 788
  • 7
  • 12
  • My checkboxes are generated dynamically, not from front end, so there is no id or class for the chckboxes. Hence, i want to achieve it from CSS – shwetha Aug 31 '17 at 16:49
  • ok) $(window).load(function() { $('your parent class name input[type="checkbox"]').attr('disabled', true); }); – Dmytro Lishtvan Aug 31 '17 at 16:52