Test Setup
- Initially, the "clicker" button has been assigned a
clickevent behaviors using jQuery'sonfunction. - Clicking the "Attach behavior" button will attach a
clickevent to the "clicker" button. - Clicking the "Detach behavior" button will detach the
clickevent from the "clicker" button. - Errors are handled using the
try...catchand will be outputed on to the right side as well.