jQuery Modal Dialog and Postback Issues

jQuery Modal Dialog and Postback Issues

Hello Friends,

              In my scenario, I show a simple Dialog (jQueryUI). I've a textbox and a button in it. When the button is clicked, I've to store the textbox value in database. But always the textbox is empty when it comes to server-side. When I googled, they said that we need to append the modal to the 'body'. I'm not sure how to do it. It throws error. Can anyone help me?

Super Regards,
Achu