I have a string returned from php ajax page like this:
$returnString = "firstName=" . $row['firstName'] . "&lastName="
.$row['lastName'] . "&address=" . $row['address'] . "&province_id="
.$row['province_id'] . "&city_id=" . $row['city_id'];
so on my calling page I get the string returned to :
var newCompleteString = this.responseText;
I am trying to figure out the best way to parse the string into a key: value array