// //alert($("#txtKeywords").val());
// var postdata = {
// Keyname: $("#txtKeywords").val()
// };
// $.ajax({
// url: 'MemberSearch',
// type: "post",
// data: JSON.stringify(postdata),
// dataType: "json",
// processData: false,
// contentType: "application/json; charset=utf-8",
// success: function (data) {
// errorCode.getMsg(data,
// function () {
// document.location.href = "list/" + data.Keyname;
// },
// function (e) {
// $.dialog({
// title: "提示",
// icon: "error",
// content: e.msg + (data.msg != '' ? '(' + data.msg + ')' : '')
// });
// });
// }
// })
//});
<div class="r-list">
<input id="txtKeywords" class="keyword" type="text" name="txtKeywords" />
<a id="lbtnSearch" class="btn-search" href="###">查詢</a>
</div>
///// <summary>
///// 按關鍵字查詢用戶
///// </summary>
///// <param name="KeyName">關鍵字</param>
///// <returns>所查詢的用戶視圖</returns>
//public ActionResult MemberSearch(string KeyName)
//{
// // return Content("<script>alert('刪除" + KeyName + "!')</script>");
// return Content("<script>alert('選擇" + Json(KeyName) + "!')</script>");
// // return Json(text);
// //return View();
//}