This topic contains 2 replies, has 2 voices, and was last updated by thinh2010 6 years, 8 months ago.
- Topic
Hi everybody,
I got a problem about jquery.
I create an event listener each time my checkbox is changed. And the event always call twice.123456789101112131415<script type="text/javascript">require(['jquery'], function ($) {$(document).ready(function() {$('.for-all').change(function() {if ($(this).is(':checked')) {alert('checked');} else {alert('unchecked');}})})});</script>My code alert twice, ‘checked’ and ‘unchecked’.
Do anyone got also this pb?
The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.