ChrisQuick
Programmer
I have an application that is returning database information as XML. For example:
<FIELDS NAME="SMITH" ADDRESS="123 SOME ST"/>
<FIELDS NAME="JONES" ADDRESS="778 SOMEOTHER RD"/>
I am trying to write a javascript function that will pull all of the Address values into an JS array.
What I have so far (and that doesn't work) is:
function parseAddresses(theReply) {
var re = new RegExp("ADDRESS=+"
var testTest="";
testTest = re.exec(theReply);
}
Can anyone help?
cquick@callingpost.com
Geographic Information System (GIS), ASP, some Oracle
<FIELDS NAME="SMITH" ADDRESS="123 SOME ST"/>
<FIELDS NAME="JONES" ADDRESS="778 SOMEOTHER RD"/>
I am trying to write a javascript function that will pull all of the Address values into an JS array.
What I have so far (and that doesn't work) is:
function parseAddresses(theReply) {
var re = new RegExp("ADDRESS=+"
var testTest="";
testTest = re.exec(theReply);
}
Can anyone help?
cquick@callingpost.com
Geographic Information System (GIS), ASP, some Oracle