How to use submitted form data in dialog?

How to use submitted form data in dialog?


Hi there..
I'm new to JS so please be patient with me ;-)
I have a simple Form and want to display the entered data in a dialog.
Could anyone give me short example please?
I'm experimenting with jQuery dialogs for a while now, but I did'nt
get this one to work.
Thanks in advance!