You can certainly do this by placing an onclick listener on the links in the 
search results, but it will probably be easier and more reliable to build your 
own search control to do so. The default control appends a cloned copy of the 
result's html node to the containing element, and the cloning process does not 
replicate event listeners. Below, you will find links to the documentation and 
the interactive API Playground which you will find invaluable in building your 
own control.

http://code.google.com/apis/ajaxsearch/documentation/index.html
http://code.google.com/apis/ajaxsearch/documentation/reference.html
http://code.google.com/apis/ajax/playground/?exp=search

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
[email protected]

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On Mar 20, 2010, at 3:40 AM, saravanan wrote:

> Hi everyone,
> 
> 
> Is it possible to get the url of the link in the search result.
> 
> My requirement is that,
> In a page, i have incorporated the google search API. I get a list of
> search results. If i click on any of these search results, i should
> get the URL of the link that i clicked only.
> 
> provide me a help in this regard.
> 
> advance thanks..
> 
> regards,
> 
> saravanan
> 
> -- 
> 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].
> For more options, visit this group at 
> http://groups.google.com/group/google-ajax-search-api?hl=en.
> 

-- 
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].
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to