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

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -