<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Use Bing Maps REST Services with jQuery to build an autocomplete box and find a location dynamically</title> <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.5.1.js" type="text/javascript"></script> <script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.10/jquery-ui.js" type="text/javascript"></script> <link href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.10/themes/redmond/jquery-ui.css" rel="stylesheet" type="text/css" /> <style type="text/css"> #searchBox { width: 25em; } </style> </head> <body> <div> <div class="ui-widget"> <label for="searchBox"> Search: </label> <input id="searchBox" /> </div> <div id="searchResult" class="ui-widget" style="margin-top: 1em;"> </div> </div> </body> </html>