function GetSession(value)
{ var temp; jQuery.ajax({ type: "POST", url: "GetSession.aspx", async: false, //是否ajax同步
data: "s=" + value, success: function(msg) { temp = msg; } });
return temp;
}
GetSession.aspx頁面
版權所有不知道是誰的,網上到處都是同一個版本,轉載下以備後時只需。