<iframe name='div_test'></iframe>
<form action='3-2.php' method='get' target='div_test' name='form1'>
<input type='text' name='mes'> <input type='button' οnclick='document.form1.submit();' value='提交'>
</form>
3-2.php
<?php
echo $mes;
?>
<iframe name='div_test'></iframe>
<form action='3-2.php' method='get' target='div_test' name='form1'>
<input type='text' name='mes'> <input type='button' οnclick='document.form1.submit();' value='提交'>
</form>
3-2.php
<?php
echo $mes;
?>