In my vb.net from I have
Dim add22 As String = “office | You are in |Medford, MA | Phone: 457-585-5142 “
Dim add23 As String = “office | You are in | Athol, MA | Phone: 457-585-5142 “
Dim add24 As String = “office | You are in | Lexington, MA | Phone: 457-585-5142 “
InvokeMemberWithArgument(“find”, add22)
InvokeMemberWithArgument(“find”, add23)
InvokeMemberWithArgument(“find”, add24)
and in my Javascript form I have:
div.find = function(address)
{
var name = address.split(“|”);
var map = this.proxy;
var address = name[2];
I just wondering how I can change my Arrya “address” in javascript to becomes like this:
var addresses = [
“Medfrod, MA”,
“Athol, MA”,
“Lexington, MA”];
Immediate response highly appreciated!
Shawn