日期:2014-05-17 浏览次数:21195 次
@model MvcApplication2.Models.Table_1
@{
ViewBag.Title = "Edit";
}
<script src="../../Scripts/jquery-1.8.3.min.js" type="text/javascript"></script>
<script src="../../Scripts/jquery.json-2.3.min.js" type="text/javascript"></script>
<script src="../../Scripts/jquery.easyui.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
$("#btn_Submit").click(function () {
try {
var article = {};
article.ID = $("#id").val();
article.Name = $("#name").val();
article.Psw = $("#psw").val();
$.ajax({
type: "post",
contentType: "application/json;utf-8",
url: "/show/EditComplete",
data: "{json:'" + $.toJSON(article) + "'}",
dataType: "",
success: function (data) {
if (data == "success") {