I am making a store project and this is my feature to add my stuff too the cart and it tells me that it is not a funtion

前端 未结 0 635
伪装坚强ぢ
伪装坚强ぢ 2020-12-04 07:14

I am using JavaScript and this is the function

(\'.add-to-cart\').click(function(event) {
event.preventDefault();
var name = $(this).data(\'name\');
var price         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题