How do I change the code syntax below, where is says infoAddress from a number into a string value? What syntax am I missing.
var html = '<a onclick="selectMarker(' + i + '); selectAddress(' + infoAddress + ');">';
If I get your question right, you're trying to give the parameter for the selectAddress function as a string. For the parameter must be in quotes. As you're already in a string, you've got to escape the single quotes with a backslash.
var html = '<a onclick="selectMarker(' + i + '); selectAddress(\'' + infoAddress + '\');">linkText</a>';
var html = '<a onclick="selectMarker(' + i + '); selectAddress(\'' + infoAddress + '\');">';
iandinfoAddress?innerHTML, which is almost always wrong. Use the DOM.