JavaScript indexOf to ignore Case

前端 未结 0 1768
盖世英雄少女心
盖世英雄少女心 2021-02-12 06:02

I am trying to find if an image has in its source name noPic which can be in upper or lower case.

var noPic = largeSrc.indexOf(\"nopic\");


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题