Ken,the issue is that his "esri/dijit/Homebutton" has a lower case "b" in Button.Here is the full code you need, plus what Ken said.<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=7, IE=9, IE=10">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/>
<title>Geocoding Widget API for JavaScript | Simple Geocoding</title>
<link rel="stylesheet" href="http://js.arcgis.com/3.9/js/dojo/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.9/js/esri/css/esri.css">
<style>
html, body, #map {
height:100%;
width:100%;
margin:0;
padding:0;
}
#search {
display: block;
position: absolute;
z-index: 2;
top: 20px;
left: 74px;
}
#HomeButton {
display: block;
position: absolute;
z-index: 2;
top: 90px;
left: 19px;
}
</style>
<script src="http://js.arcgis.com/3.9/"></script>
<script>
var map;
require([
"esri/map", "esri/dijit/Geocoder", "esri/dijit/Scalebar", "esri/dijit/HomeButton", "dojo/parser", "dojo/domReady!"
],
function(Map, Geocoder, Scalebar, HomeButton, parser) {
parser.parse();
map = new Map("map",{
basemap: "streets",
center:[-104.0,39.430], //long, lat
zoom: 13
});
var geocoder = new Geocoder({
map: map,
autoComplete: true,
arcgisGeocoder: {
name: "Esri World Geocoder",
suffix: " San Antonio, TX"
}
},"search");
geocoder.startup();
var homebutton = new HomeButton({
map: map
},
"HomeButton");
homebutton.startup();
});
</script>
</head>
<body>
<div id="search"></div>
<div id="map"><div id="HomeButton"></div></div>
</body>
</html>
Hope this helps!I have also added a HomeButton style, so the button would appear below your zoom.Tim