Date:  11/13/2001 11:46:42 PM Msg ID:  000115
From:  Oleg Goncharuk Thread:  000110
Subject:  Re: function calling
If you want to call script function on button click you can do it this way:

<!--Your submit function-->
<script>
  function doSubmit(){
  //your code
  document.forms[0].submit()
}
</script>

<!-- your button (make it of type "button" and not "submit") -->
<input type="button" value="Submit" onclick="doSubmit();">

Sent by Umashankar Sirpali on 11/11/2001 08:10:15 PM:
i want to call a function from a save button in a web page which can save data for me.