TypeError: 'stepUp' called on an object that does not implement interface HTMLInputElement.
TypeError:对未实现接口HTMLInputElement的对象调用“stepUp”
使用ajax时 对象付值不对
有可能值没有定义 或类型不对
如把对象当作普通数据付值了 ,下面例子中的data就是这样 可使用for(var i in data){ alert(data[i]);}查出哪个出错了
jQuery.ajax({
  type:'post',url:formurl,dataType:'json',
  data:data,
  error: function(XMLHttpRequest, textStatus, errorThrown){  statusdiv.html('数据不完整或表单提交太快了!').show();     },
  beforeSend: function(){  statusdiv.html('正在提交审核 请稍后...').show();},
  success: function(data, textStatus){
    if(data.code==0) {
      if(istorage.support()){
         istorage.set('author',author);
         istorage.set('email',email);
      }
      statusdiv.html('已提交审核 感谢分享!').show();
      $("#submit").prop("disabled",true);  
      editor.setValue('');
    }else{
      statusdiv.html(data.payload.msg).show();
    }
   }
 });