我知道end()是结束遍历,加个参数 是什么意思??

解决方案 »

  1.   

    end不是结束吧,是返回前一次的状态,加参数还真不知道什么意思
      

  2.   

    好像没有这样的api
    http://api.jquery.com/end/你在哪看到的?
      

  3.   

    var currentBuffer = video[0].buffered.end(0) , 是不是针对数组的
      

  4.   

    应该是video[0].buffered.end是个对象或者数组
      

  5.   

    end: function() {
    return this.prevObject || this.constructor(null);
    },jQuery的end方法体就这么多内容,明显没有用到参数的地方
      

  6.   

    HTML5的内容
    audio|video.buffered
        length - get the number of buffered ranges in the audio/video
        start(index) - get the start position of a buffered range
        end(index) - get the end position of a buffered rangeNote: The first buffered range is index 0
      

  7.   

    好吧, 8 楼正解。原来此end 非 彼 end, 在哪里看到的啊??
      

  8.   

    http://www.w3schools.com/html5/av_prop_buffered.asp
      

  9.   

    额没看到后面的回复
    video[0].buffered.end =>
    video[0]这个时候已经转换为DOM元素了,由上下文可见你这个是video对象
    如果#8所说,end是video.buffered的方法,不是jQuery object method