python
Dashboard
My Repos
Compilers
Python Online
Node JS Online
Golang Online
codepy
Login
My Repos
Sign Out
Online Python Interpreter
Stop
Run
var count = 0; $(function() { updateCount(); $('input[type=checkbox]').change(function() { updateCount(this.checked ? 1 : -1); }); $('#invert').click(function(e) { e = $('input[type=checkbox]'); e.each(function(i, el) { el.checked = !el.checked; }); updateCount(e.length - count - count); }); }); function updateCount(a) { count = a ? count + a : $('input[type=checkbox]:checked').length; $('#count').text(count); }
Share this code with others
Public
Clear
My Repos
Repo
Lang
Login
Register
Login
Create a free account. No Credit card info required.
I agree with the Codepy
Term of Service
Sign Up