Hi i have added this code Js in my funnelish to allow a checkbox to show or hide fields in chackout page but not work
in my local html it works
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script>$(document).ready(function () {
$('.checkbox input:checkbox').on('click', function(){
$(this).closest('.checkbox').find('.ch_for').toggle();
})
});</script>
<style>.hide{
display:none;
}</style>```
Anyone can help me please?