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">
红颜莎娜
慕标5832272