return $("input[name='parentId']").val();
            },
            "menuName": function() {
              return $.common.trim($("#menuName").val());
            }
          }
        }
      },
      orderNum:{
        digits:true
      },
    },
    messages: {
      "menuName": {
        remote: "菜单已经存在"
      }
    },
    focusCleanup: true
  });

  function submitHandler() {
    if ($.validate.form()) {
      $.operate.save(prefix + "/edit", $('#form-menu-edit').serialize());
    }
  }

 