getIndex()什么意思?
getIndex()出自Jquey函数。 它的概述如下: 取得其中一个匹配的元素。num表示取得第几个匹配的元素。 这能够让你选择一个实际的DOM元素并且对他直接操作,而不是通过jQuery函数。$(this).get(0)与$(this)[0]等价。 参数: indexNumber取得第index个位置上的元素。
there was和there were怎么区分?
区分就是根椐紧跟其后的名词单复数形式决定,中文意思是某地有某物或某人,具体的不同如下
there was的例句
Sometimes a mist seemed to be falling, and sometimes there was a sudden downpour of heavy, slanting rain.一忽儿像是下大雾,突然间又下起倾盆大雨。
there were的例句
Before jQuery 1.3, there were three ways to get around this problem, none of them elegant (for those of you who continue to use jQuery 1.2.x, these are still valid).

