How to invoke on check event of a checkbox[]

Let’s learn how to invoke a checkbox[]’s checked event.

Our checkbox:

our onchange event call showhidecheckbox() javascript function. This function is used to detect the checkbox status and show or hide a div named “sendto”.

Now, you can hide or show your sendto div when your checkbox is checked or unchecked.

One thought on “How to invoke on check event of a checkbox[]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.