Menu
Hi,
I’m working on a php front end and a mysql backend, but the forms are validated and submitted with js. my problem is that when the form is submitted for updating a record using:
function submitAction() {
document.form_update_record.submit();
window.location.href = “index.php”
}
The redirect script prevents the record from being updated, in other words upon submitting the page is redirected right away but the update has not been saved. If I comment out the redirect script the record gets updated but then again the page does not get redirected…thanks for any help!
BTW I’m using IE 6