Double Div'ing

Double Div'ing

OK... maybe I'm missing something or maybe its not possible but here it goes anyway coz I need sleep!

I have a page that I have enthusiasticly slapped my new found love Jquery into.  I have a search box that pulls data from my database and displays it in a AJax Div.

What I want to do is then be able to click on the individul rows and load another page in another Ajax Div.

I have tried putting each row from the database in a div, then added a click event fuction to the jquery script.  This doesn't work at all.  I have my suspicions that this is because the Ajax Div doesn't really contain html.

Is this possible or am I searching for the holy grail?  Essentially what I'm trying to do is...

Main html has a textbox, and 2 divs, on #button click div 1 is populated with database results, these results are a summary, i then need to open (via a click) the detail in div 2.

So... is it possible???  btw all the unique ids and stuff is worked out it is purely can I get the second div to populate using a mouse click in div 1

Kind regards,

Pete