hi, i have solved this problem myself.....
the best way to do it is to make your file tht saves data to a DB and then use this java code to load a 2nd page.
then on your form just add onsubmit="dbSub mit(this)"
the best way to do it is to make your file tht saves data to a DB and then use this java code to load a 2nd page.
Code:
<script type="text/javascript">
<!--
function dbSubmit(f)
{
// submit to action in form
f.submit();
// set second action and submit
f.target="_self";
f.action="data.php";
f.submit();
return false;
}
//-->
</script>
Comment