如何在灯箱中获取表单值?

i am making a form which will first validate and after clicking on submit , that form values will be transfer to lightbox. I am using ModalBox as lightbox

<td colspan="5"><table width="272" border="0" align="center" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                <div align="left">
                                                    <input type="submit" name="button3" onclick="" tabindex="31" id="todo" value="Submit" class="submitbtn"  />
                                                </div></td>
                                            <td><div align="right">
                                                    <input type="reset" name="button4" tabindex="32" id="button4" value="Reset" class="submitbtn"  />
                                                </div></td>
                                        </tr>
                                    </table></td>

what i want to do is onclick id="todo" button a lighbox will be opened and in that lightbox will contain html having all the values of this page. There will be 2 buttons confirm and correction if user click confirm data will be submitted to db other wise if click on correction the lightbox will be closed.

Any other lightbox is also wellcomed.