if (json.ScheduleCareProviderScheduledPatientsGetResult.Appointments[i].Patient.Firstname.toUpperCase().indexOf(searchBarValue.toUpperCase()) == 0) {
为什么我会收到此错误。
Because
json.ScheduleCareProviderScheduledPatientsGetResult.Appointments[i].Patient.Firstname
is undefined.
Either json.ScheduleCareProviderScheduledPatientsGetResult.Appointments[i].Patient.Firstname
or searchBarValue
are undefined. Make sure they're not null
before you call this line!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.