jQuery variable claiming it's undefined when it has been defined

后端 未结 4 2017
盖世英雄少女心
盖世英雄少女心 2021-01-27 17:40

I\'m trying to have two autofilling textboxes, one for a phone model - input1 and one for firmware - input2 on the same page. When both filled I want a div to be shown with the

4条回答
  •  北海茫月
    2021-01-27 18:06

    It's not defined anywhere that's accessible to the findFirmware() function--it's defined as a var in findPhone(), hence local to that function.

    Not sure what is intended by things like li.selectFirmware etc. but those will also break.

提交回复
热议问题