求教.json文件如何在客户端处理
例如我有如下的一个logon.html文件
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>logon</title>
</head>
<body>
<form id="form1" name="form1" method="POST" action="http://aazj.cn:8080/minisns/logon.json" enctype="application/x-www-form-urlencoded" target="_self">
<table width="500" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #CC3300">
<tr>
<td> </td>
<td><p>logon</p></td>
</tr>
<tr>
<td width="110"><div align="right">mobile(String)</div></td>
<td width="401"><label>
<input type="text" name="mobile" id="el_mobile" value="" />
</label></td>
</tr>
<tr>
<td width="110"><div align="right">password(String)</div></td>
<td width="401"><label>
<input type="text" name="password" id="el_password" value="" />
</label></td>
</tr>
<tr>
<td width="110"><div align="right">code(String)</div></td>
<td width="401"><label>
<input type="text" name="code" id="el_code" value="" />
</label></td>
</tr>
<tr>
<td><div align="right"></div></td>
<td><label>
<input type="submit" id="button" value="提交" />
</label></td>
</tr>
</table>
</body>
</html>
注意表单中action的url, 我输入用户名和密码, 点击提交之后,服务器发给我一个.json文件该如何解析呢?
是用ajax技术么?