我有一页,有几页投入,是有效的纽特和一些链接。
我想有以下行为:当用户点击链接时,在接线之前提交表格(数据被保存)。
I tried to use jquery form.submit() on link click event, but the data isn t saved. If I use event.preventDefault() before form.submit(), data is saved but the link isn t opened, the action link of the submit button is opened instead.
我如何能够这样做?