Hi,
Completely new to Javascript and have a complete newbie question, looking at developing a Google maps webpage and used the link below to develop a page that reads map locations from a Google spreadsheet.
Have added another column to the spreadsheet and a couple of lines of code. Want to get the code to check if the string is blank before outputting the details but cannot achieve this. Any suggestions on how to amend the code below to achieve this
for (var i = 0; i < json.feed.entry.length; i++) {
var entry = json.feed.entry;
............ other code .........
?????? What do I change here?????????
if(entry["gsx$" + param_OpenHoursColumn]) {
html += "<br/> <b> Opening Hours </b>" + entry["gsx$"+param_OpenHoursColumn].$t;
}
Thanks very much.
Completely new to Javascript and have a complete newbie question, looking at developing a Google maps webpage and used the link below to develop a page that reads map locations from a Google spreadsheet.
Have added another column to the spreadsheet and a couple of lines of code. Want to get the code to check if the string is blank before outputting the details but cannot achieve this. Any suggestions on how to amend the code below to achieve this
for (var i = 0; i < json.feed.entry.length; i++) {
var entry = json.feed.entry;
............ other code .........
?????? What do I change here?????????
if(entry["gsx$" + param_OpenHoursColumn]) {
html += "<br/> <b> Opening Hours </b>" + entry["gsx$"+param_OpenHoursColumn].$t;
}
Thanks very much.