I am nearly there with my code however I just need to work out how to pass in a value to the input on the page load.
<!DOC
TYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>VEMap.Geocode Method</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.3"></script>
<script type="text/javascript">
var map = null;
function GetMap() {
map = new VEMap('myMap');
map.LoadMap();
}
function ClickGeocode() {
map.Geocode(document.getElementById('txtQuery').value, findCallback);
}
function findCallback(layer, findResults, placeResults, moreResults, error) {
var s = '';
if (placeResults) {
for (var ...
Go to the complete details ...