在javascript循环中实现一个具有从数据库中检索到的信息的搜索框
for (var i = 0; i < numMarkers; i++) {
var titleText =
'CASE NAME:' +
speedTest.info[i].case_name +
' ' +
'DATE:' +
speedTest.info[i].tarehe +
' ' +
'DISTRICT:' +
speedTest.info[i].wilaya
if (titleText === '') {
titleText = 'No title'
}
}