hi.
*i use ths code:*
    <script src="https://www.google.com/jsapi";
        type="text/javascript"></script>
    <script language="Javascript" type="text/javascript">
    //<!
    google.load('search', '1');

    function OnLoad() {
      // Create a search control
      var searchControl = new google.search.SearchControl();

      // Add in a full set of searchers
      var localSearch = new google.search.LocalSearch();
      searchControl.addSearcher(localSearch);
      searchControl.addSearcher(new google.search.WebSearch());

      // Set the Local Search center point
      localSearch.setCenterPoint(New York,NY);

      // tell the searcher to draw itself and tell it where to attach
      searchControl.draw(document.getElementById("searchcontrol"));

      // execute an inital search
      searchControl.execute("keyboard");
    }
    google.setOnLoadCallback(OnLoad);

    //]]>
    </script>
  </head>
  <body>
    <div id="searchcontrol">Loading</div>
  </body>
</html>

*but my problem is:*
when compare result of this code and google.com, result is different.
result of above code:
www.amazon.com,www.bgfl.org,en.wikipedia.org,www.apple.com
result of google.com:
www.bgfl.org/virtual*keyboard*‎,en.wikipedia.org/wiki/Computer_*keyboard*‎,
en.wikipedia.org/wiki/*Keyboard*_instrument‎,https://www.apple.com/
*keyboard*/
can anyone help me?
thanks a lot.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
To view this message on the web, visit
https://groups.google.com/d/msgid/google-ajax-search-api/9051178a-747c-4771-87e0-c867d2641887%40googlegroups.com
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to