Can't use form or header in dialog ??

Can't use form or header in dialog ??

Hi,

I use the jQueryUi widget for my website and I want put a form or function header (to redirect) from the dialog..

Can I do that ???

My content code in the dialog is :

<form action="page.php" method="post">
<select name="name1">
[...]
</select>
<select name="name2">
[...]
</select>
<input type="submit" />


And when I click on the input button, it reacts as a <input type="button" />

Help me please !