【发布时间】:2015-09-30 20:16:21
【问题描述】:
<html>
<head></head>
<body>
<form name="abc" action="#" method="post">
Name: <input type="text" name="name"><br>
Age : <input type="text" age="name"><br>
<input type="submit"><br>
</form>
</body>
</html>
任何人都可以这样编写这个 HTML 代码,当我提交这个表单时,表单数据将以 JSON 格式提交。
【问题讨论】:
-
服务器代码是什么样的?为什么需要 JSON?
标签: javascript json html