jQuery showing Unexpected token ; -
i given code below answer question asked giving me unexpected token ;
. have feeling missing closing )
have added them in , still not resolved have missed.
why getting unexpected token ;
?
code:
<script> jquery(window).on('click', '.add_to_cart.button', function() { call_ajax_add_to_quotelist(add_to_quotelist_ajax_url, $(this).data('id'); } </script>
missing closing )
on function call , @ end of handler
jquery(window).on('click', '.add_to_cart.button', function() { call_ajax_add_to_quotelist(add_to_quotelist_ajax_url, $(this).data('id')); //here }); //and here
Comments
Post a Comment