3
我試圖在將數據提交給服務器之前將encodeURIComponent()
應用於數據。 我試過了:如何在提交之前應用encodeURIComponent()?
submitdata: function (value, settings) {
return {
value: encodeURIComponent(value)
}
},
但這不起作用。它總是挑選舊的價值。我如何解決這個問題?