Pass Javascript Array in Array using Ajax

I get my fields like array with javascript. Every array field is array with proporties. Example. arr[0] { 'id':'1', 'title':'testtitle', 'value': 'test value' } arr[1] { 'id':'2', 'title':'testtitle', 'value': 'test value' } arr[2] { 'id':'3', 'title':'testtitle', 'value': 'test value' } I use `JSON.stringify(arr);` to send array to php and to read this array. My problem is, Value option is text form textarea. When I use simple text , I have no problem. But I need to use `TinyMCE` editor. When I paste some text where have html like this: style="font-size:12px;" and other ... Array crashed. I have no idea how to fix this.

以上就是Pass Javascript Array in Array using Ajax的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » jQuery 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准