Jquery remove div of previous selection and append current selection to allow only one selection per row using buttons
I have The following code with buttons that append selections to the "cart" div on click In The first Script, Its function is to allow only one selection per row whenever multiple buttons in the same row are clicked. In…