I built a quiz test using PERL, with that, I could send scores and users' data by email to me for record. I wonder if Javascript could also record a simple data such as scores in txt form and send the data to me through email. Thanks.
Of cause you can - you should create form with hidden fields and fill them from javascript. Then you have following options:
1. pray that your client have correctly configured mail in his browser and use action="mailto:..."
2. write (or stole somewhere) simple program that will send same letter on server.
as you can see i recommend second version.
PS: Sorry for my English
PPS: Need more details?
Michael Dubner
Brainbench MVP/HTML+JavaScript
So where can I find the syntax for emailing a specific variable to a specific email location? Say the variable is "result", the form name is "Score" and the email location is something@yahoo.com?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.