AJAX POST问题

前端之家收集整理的这篇文章主要介绍了AJAX POST问题前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

AJAX中的DATA以JSON的格式发送则后台需要用以JSON格式接收,

以data:
{
ROW_ID:ROW_ID,
TITLE: TITLE,
CONTENT : CONTENT,
TIME: TIME,
AUTHOR: AUTHOR,
READ_NUMBER: READ_NUMBER,
LIKE_NUMBER: LIKE_NUMBER,
TYPE: TYPE,
INTRO:INTRO,
JUMP_LINK: JUMP_LINK,
TAG: TAG,
ISCOLLECTION: ISCOLLECTION,
END_DATE: END_DATE,
PRIZE_NAME: PRIZE_NAME,
PRIZE_DESC: PRIZE_DESC,
M_TEMPLATE:M_TEMPLATE,
M_ACTIVE:M_ACTIVE,
M_PRIZE:M_PRIZE,
M_DESC:M_DESC
},

键值对格式发送则context.Request.Form["row_id"]直接可以获取

原文链接:https://www.f2er.com/ajax/162180.html

猜你在找的Ajax相关文章