0

I am basically selecting a checkbox by click function. And i want to unclick /unselect it.

$("#element").click();

Is there any function unclick() exists ?

I tried with with prop(),unbind(),off() but no luck. Please assist me in getting this right.

  • 1
    You can set `checked` to `false` and it will unchecked. – Maheer Ali Jan 12 '20 at 15:46
  • Already tried. It is also unchecking the checkbox but not triggering any onclick event. Since i have some custom code to be executed on click event, i want something like check() or uncheck(). – Arabinda Padhiali Jan 12 '20 at 15:57

0 Answers0