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

Popular posts from this blog

html - jquery - p element wont show after I hid it -

python - BeautifulSoup: How to get the nearest tag -

php - Return Last Insert ID with PDO -