The Christmas wish list application is a custom search control. The JS  
code is at the link below:

http://www.google.com/uds/samples/what-i-want/runtime.js

Specifically, the code that creates the delete button itself is on  
line 246, and the line that assigns its behavior is on line 252. The  
method which outlines what to do to delete the item is found on on  
lines 301 - 309.

All of that said, it should be noted that, unless you reproduce the  
wish list control itself, you will probably find that the code will  
need significant tweaking to work with your own application. This will  
require at least a working knowledge of Javascript. If you don't have  
that, you will probably want to run through a JS tutorial on the web  
somewhere.

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

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

Unless otherwise noted, any price quotes contained within this  
communication are given in US dollars.

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

And check out my blog, Adventures in Web Development, at 
http://jgeerdes.blogspot.com 
  !


On Dec 1, 2009, at 3:06 AM, Rachel wrote:

> Hi! Does anyone know how to add a delete button under each copied
> search selections in the way the wishlist does?
>
> http://www.google.com/uds/samples/what-i-want/index.html
>
> Thanks!
>
> R
>
> --
>
> 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