亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

javascript - Why does this happen under IE? "Cannot get property 'length' of undefined or null reference"? Please give me some advice.
伊謝爾倫
伊謝爾倫 2017-06-27 09:19:24
0
1
1574

伊謝爾倫
伊謝爾倫

小伙看你根骨奇佳,潛力無限,來學PHP伐。

reply all(1)
為情所困

Because the object may be an undefined or null value, and the undefined or null value does not have a length attribute

You can write it like this

if (listVal && listVal.length == 0) {
  // do something...
}
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template