Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Submit data for update and email
Message
 
 
General information
Forum:
Internet
Category:
Active Server Page
Miscellaneous
Thread ID:
00426168
Message ID:
00426491
Views:
16
>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.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform