You do it in VBScript, on the server side, after the form gets submitted.
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"AMC" <> wrote in message
news:...
> Hi,
>
> I have a page that allows user input. On click of the submit button I call
> a
> javascript function that verifies that all of the fields are filled out
> and
> then submits the form. I need to add code after the verification that
> creates and sends an email. I know how to do this in VBscript, but don't
> know how to call a vbscript function from a jscript function (is this even
> possible?). Any help would be appreciated. I don't want the users email
> client to open, everything must be done in code.
>
> Thanks,
> AMC
>
>