>I would like to have a "Submit" button on an ASP page that when clicked BOTH updates the data on the page and prompt an emil with the body of the email containing data changes being submitted (e.g. mailto:).
>
>Right now, I could make my "Submit" button do one or the other but not both. Is this possible? TIA.
I haven't tried this so YMMV.
Create a function and call it from the the onsubmit of the form. In that function, gather the data you need and use the window.open function to send the email.
Ex.
window.open('mailto:myemail@somewhere.com&subject=Data Changes&Body=Data that chaged goes here')
Then return true from the onsubmit function and the form should be submitted as well to the action page.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao