Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

How to check all checkboxes using jQuery? Ask Question

$("#checkAll").change(function(){

  if (! $('input:checkbox').is('checked')) {
      $('input:checkbox').prop('checked',true);
  } else {
      $('input:checkbox').prop('checked', false);
  }       
});
Comment

PREVIOUS NEXT
Code Example
Javascript :: VUE DECLARE COMPONENT IN MAIN.JS 
Javascript :: flutter app accessible when phone is locked 
Javascript :: javascript see if chrome is in dark mode 
Javascript :: the email address is badly formatted react 
Javascript :: como hacer un onpress en react native expo 
Javascript :: how to post json to cloudwatch 
Javascript :: js map vs react js map 
Javascript :: puppeteer print page numbers after second page 
Javascript :: vuetifyjs 2.0 2 column side bar 
Javascript :: react deployment pipeline 
Javascript :: MIME type Error CSS in nodejs Express 
Javascript :: redux filter movies list container 
Javascript :: initial min js 
Javascript :: pass color json api 
Javascript :: javascript plugin bootstrap 
Javascript :: validate url in javascript 
Javascript :: https://discord.com/api/guilds/845154482256871435/widget.json 
Javascript :: react native custom ssl cer 
Javascript :: react route send informaion in url 
Javascript :: Start and Daemonize any application nodejs 
Javascript :: 4.1.1. More On Strings¶ 
Javascript :: bjsmasth delete 
Javascript :: get nested value on object react using dot 
Javascript :: how to show stop loading page for some second in nuxt 
Javascript :: tableexport dates 
Javascript :: must line ending of word regex match 
Javascript :: jquery event when element is rendered 
Javascript :: Stateful/Container/Smart component 
Javascript :: delete all properties from an javascript object 
Javascript :: declarative language example 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =