SpringBoot,胸腺叶,Ajax。我遇到过这样一种情况:单击按钮后,它将通过ajax调用调用controller1并获得响应。我将此响应作为一个表进行填充,其中第一列作为复选框,其余列为普通列。在这里,用户可以选择任何复选框,并单击提交按钮,它将转到不同项目中的不同controller2。如何将选定的复选框值传递给controller2。From html page onClick of radio buttom calling the below aja
这是我第一次使用JSON对象将数组传递给ajax。正如您在我的代码中看到的,我不确定如何正确地将数组传递给要由ajax读取的JSON对象。当它被传递给控制器时,参数中的items变量为空。tblItem tbody tr #tditem_promo').length,
items: itemprice //I'm not sure how to pass an array to