Form pop up

Hi guys,

Im very new to the whole javascript/jquery scene but have come across a need for something i cant figure out.

On my webpage i have a html form that queries a db via php. What i want to do a show a popup form when the first form is submitted, with the ability to submit that form to my php script. I quite like the look of the jquery modal popup examples ive come across but ive no idea how to implement it.

If someone could point me in the direction of a tutorial or show some example code i would be greatfull.