On May 26, 2:40 pm, arshad <[email protected]> wrote: > > thanks just now got the point there :). > > and still > alert("Please Take this Bus "+resultArray.join(", ")); > > won't put any alerts. but just reloads the page. not even displaying the > correct path.
You never call your function check(), you just define it. Consequently resultArray and resultArray1 are undefined when the alert is run. -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
