GeoCode Widget

Discussion created by bradyjp on Aug 26, 2013
Latest reply on Aug 27, 2013 by bradyjp
Anyone know how would I go about utilizing ESRI's geocode capabilities in a pre-built seaerch box?...the code below is our function with the GeoCode widget added.  However, the behavior isn't quite correct.  I'd like to configure our search box & button to hit the ESRI geocoder

function searchAddress(address) {
    function init() {
        geocoder = new esri.dijit.Geocoder({
            map: map,
            autoComplete: true,
            arcgisGeocoder: {
                name: "Esri World Geocoder",
                suffix: " Staunton, VA"
        }, "AddressSearchButton");