Overlapping jQuery Windows

Overlapping jQuery Windows

Hi Everyone,
 
I was just thinking if its possible to do a postback on a jQuery Modal window and change the values from the dynamically created elements?
 
Here's my scenario,
 
I have a link, upon clicking the link I will call an sql procedure and display the result on the modal window, the result are several items with id's;  what i wanted to do is
 
1. edit the items displayed on the modal window
 
the problem is, how can i fire back the changes to the modal window? atm, i don't see any elements for the modal window since its dynamically created on the fly <div></div> innerHTML thing,
 
to better illustrate my question;
 
link->upon clicking the link
display the modal window; heres' its gonna look like,
 
Row       Qty   Item      Price       Total
1            1       Egg       25.00        25.00 <edit><cancel>
2            2       Pizza    50.00       100.00 <edit><cancel>
 
the edit/cancel buttons have the id's for the row, so say when i click row "1"
 
i wanted to change the appearance of the qty, assuming its just a display, upon firing the edit button, i want it to become a spinner field so the user can add/drop the qty, upon saving the qty-price-total would reflect the changes,
 
is this stuff possible, how and what approach would i do?
 
Thanks in advance.