jquery - how do i eliminate it from selecting other status also When clicked on Mark All Checkbox -


Text after "

This is my jsfiddle

In case I select a status from Check it out (say pending) and MarkAll checkbox, how do I also eliminate it from the selection of other conditions

I tried to avoid this by using this condition

// To select all the checkboxes

  $ (document) .on (click on ',' #selectall ', function (event) {var statuschecked = $ (' # filterstatus') Val ();. (If this.checked) {// check select position $ ('.s (1 ('(Label'). Text () === Check status) {this.checked = True; // class " Select all the checkboxes with checkbox1 "}}}} else {$ ('. Checkbox 1'). Select each checkbox (each of the function () {// loop this.checked = false; //) Class "checkbox 1"}}}}}};  

Attach an event from the box and change its value Are. (':' 'Check')) ($ ('#' ('# filterstats')) ("change", function () {if ($ ('# selectall'). Et ('check', false); $ ('Checkbox1'). Etter ('check', wrong);}});});

In addition to this, the document does not need to root any document By doing this, your event bubble will be directly in the document route with the trigger element.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -