Prototip Form Fill

I am using a prototip2 tooltip to show a page containing list of items
through ajaz request.Each of these items are hyperlinks or simply
clickable.What i want is when i click on this links in the tooltip, it
should fill/load the blank text fields with the values.
Watiting for your valuable comments and suggestions.

I forgot to specify one thing…when clicking on the tooltip it should
fill/load the values in the parent page.