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.