Submit Question

Giganews Newsgroups
Subject: Submit Question
Posted by:  mt…
Date: Sat, 22 Mar 2008


Another issue.  I'm triny to submit a form and have it run some
Javascript validation code before continuing.  The button is an HTML
button.  This is my code:

a href="javascript:document.Add_Data.action =
'savedata.php';document.Add_Data.submit();">Save Data</a>

The name of the form is Add_Data.  My FORM tag looks like this:

<FORM NAME='Add_Data' METHOD=POST onsubmit="return

Any idea why that would not work??