Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

Suggestion box

Original Message
Name: natureboy
Date: October 10, 2006 at 07:23:39 Pacific
Subject: Suggestion box
OS: XP
CPU/Ram: Don't know
Model/Manufacturer: Gateway
Comment:
I'm looking for a JavaScript code that will allow visitors to my website submit information that would go directly to my e-mail. The only one I've been able to find only opens the e-mail browser. Is there one that will automatically send the information to my e-mail box when they hit the Submit button? Thanks in advance!



Report Offensive Message For Removal


Response Number 1
Name: Michael J (by mjdamato)
Date: October 10, 2006 at 08:59:40 Pacific
Subject: Suggestion box
Reply: (edit)
You can't do it with JavaScript.

If you use the action="mailto:yourname@yoursite.com" in a form then the data entered in the form will be emailed to you, BUT it is dependant on using the visitors email application to do it. This may require the email application to open, it may do it silently, or it may require the users to confirm the action through a dialog.

The reason for all of that is security. We do not want web pages to access our applications or send email w/o our knowing about it.

If you want the ability to send data entered into a form w/o utilizing the user's email application, then you have to do it server-side. Most web hosts include CGI scripts on the server so you can accomplish this with just HTML. However, if your host supports PHP, ASP, or another server-side scripting language then you can create something even easier.

So, your first step is to determine what your host supports and this will determine what options you have.

Michael J


Report Offensive Follow Up For Removal

Response Number 2
Name: natureboy
Date: October 10, 2006 at 12:47:13 Pacific
Subject: Suggestion box
Reply: (edit)
Thank you.

Report Offensive Follow Up For Removal




Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Suggestion box

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




XP Installed to G?

exessive internet traffic

ZoneAlarm Question. Blocked Connect

Windows Live Messenger Problem

Delete $Uninstall after SP3 updates


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC