<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>
任何一個可以以這樣的方式,當我將提交這種形式的表單數據將在JSON格式提交寫HTML代碼。
服務器代碼是什麼樣的?爲什麼期待JSON? –