ueditor編輯器 提交表單

使用Uediter的時候出現提交表單錯誤

ajax 提交表單時

初步判斷:拼接參數時style屬性中存在&等特殊符號,存入時字段丟失


結果:js進行from  post提交表單



若還失敗  則


js  replace All 所有特殊字符爲指定字符串



	question=question.replace(/\&/g,"999999999999").replace(/\#/g,"999999999998");
	answer=answer.replace(/\&/g,"999999999999").replace(/\#/g,"999999999998");


發佈了35 篇原創文章 · 獲贊 9 · 訪問量 6萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章