Sorry to confuse all. I've modified the code:
<form action=post>
<input type=text name=txtOutsideDialog value="i am outside dialog">
<div id="this_is_a_dialog_box">
<input type=text name=txtInsideDialog value="i am inside dialog">
</div>
<input type=submit>
</form>
When I click the submit button, i only can receive following result:
POST = array(
"txtOutsideDialog" => "i am outside dialog"
)
I cannot get $_POST["txtInsideDialog"]
I use jquery to open the dialog box. Is all dialog behalf like this? Or I've missed something in my coding?
The dialog can pop out, but when i press the submit button, it wont pass the element (txtInsideDialog) in dialog..
Thanks everyone for the reply