日期:2014-05-16 浏览次数:20605 次
.ajaxValidator({
  type : "post",
  url : "checkVersionName.action",
  success : function(data){ 
   if( data == "0" )
   {
    return true;
   }
   else
   {
    return false;
   }
  },
  buttons: $("#button"),
  error: function(){alert("服务器忙");},
  onerror : "已存在",
  onwait : "校验中..."
 });