Hi -
1. I assume you know basic HTML and basic Javascript
2. You'll need to get a special API key:
http://code.google.com/apis/ajaxsearch/signup.html
3. Write a simple, test HTML page that:
http://code.google.com/apis/ajax/documentation/
a) loads the Google Ajax API:
Code:
<script type="text/javascript"
src="http://www.google.com/jsapi?key=ABCDEFG"></script>
b) loads the Google search API:
[code]<script type="text/javascript">
google.load("search", "1");
</script>[code]
4. Create an HTML form with a text field, and use Javascript to wire it to the Google search API
Here's a complete example, with all of the above steps:
http://code.google.com/edu/ajax/tuto...earch-api.html
5. Finally, once you're getting the basic results you want, add new elements to your HTML page ("<div>" elements are a good choice, but you've got lots of options) and use Javascript to access the .EstimatedResultCount properties and display them as dynamic HTML.
Here's another (complete) example that:
a) loads the Google API
b) registers a callback for "search complete"
c) invokes the search
d) uses the callback to update some dynamic HTML
http://www.webmonkey.com/2010/02/get...and_ajax_apis/
'Hope that helps .. PSM