function Login()
{
var isValid = $("#form1").form('validate');
if (!isValid)
return; 
$.post('Login.ashx', {
admin: document.getElementById("admin").value,
password: document.getElementById("password").value,	
}
这种方式安全吗?
还是直接<form id="form1" method="post" action="login.ashx">
 慕码人8056858
慕码人8056858 
					红颜莎娜
 
					慕标5832272
 随时随地看视频慕课网APP
随时随地看视频慕课网APP