The problem with this code is that the "item_id" variable is being concatenated with a '#' character to form a selector, but it is not enclosed in quotes. This will result in a syntax error. \n\nTo fix this, you should enclose the "item_id" variable in quotes, like this:\n\n$('#' + item_id).closest('.qcart_item').each(function() {


原文地址: https://www.cveoy.top/t/topic/qc8h 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录