Solved! Go to Solution.
var address = {"SingleLine":dojo.byId("address").value}; locator.outSpatialReference= map.spatialReference; locator.addressToLocations(address);
var address = {"SingleLine":dojo.byId("address").value}; locator.outSpatialReference= map.spatialReference; locator.addressToLocations(address);