Struts 1.3.8

I have text box and button in the JSP page with the function on onCLick() event.
<script lanaguage="javascript">
   function fnClickAddRow() {
      alert("Validating -- Inserting in Db and then add to below table");

     //Add row to the table
  }
</scirpt>

<input type="text" id="email">
<input type="button" value="Add" onclick="fnClickAddRow();" >


Now how I can call the Struts actions also since I have to validate the input and insert to database before adding to table?

Anjib



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to