Js调用函数值传递数组,ajax直接用数组提交
Html代码:
<input type="text" id ="reason<%=order.id%>" style="max-width: 60px;"/>
<button id="send<%=order.id%>" href="#"
οnclick="sendOrder('m/order/send.do',{'userId':'<%=order.userId%>', 'orderId':'<%=order.id%>', 'inputId':'reason<%=order.id%>'});retu