DEV Community

Borko Arsovic πŸš€
Borko Arsovic πŸš€

Posted on

2

Feature or bug

Hello,
today at work I had a strange situation with javascript. I had two input fields with a checkbox type, and both have an attribute ng-change with a different method.One method is called only when checkbox is checked, while the other method calls for each change of check box.

Has anyone had similar experiences? ☺

Top comments (0)

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay