![]() | | ||||||||
| | #1 |
| Banned Join Date: Oct 2008 Location: UK
Posts: 13
Thanks: 0
Thanked 2 Times in 1 Post
|
Hello everybody This is lucy smith, new to this forum as well as javascript, i am trying to write code to send an email using javascript but was enable to do it and also a vertical scroll bar moving up code i need urgently, kindly help me either providing code or provide me source from source from where i can get it |
| | |
| | #2 |
| Advanced Warrior Join Date: Jun 2005 Location: Wirral, UK
Posts: 691
Thanks: 2
Thanked 4 Times in 3 Posts
|
JavaScript is a client side scripting language. Sending email from a Website requires a server side language such as PHP. Hope this helps, T |
| Web Design Wirral - Web Design, Hosting & Development from TDL Web Developments
| |
| | |
| | #3 |
| Advanced Warrior War Room Member Join Date: Oct 2006 Location: Ireland
Posts: 750
Thanks: 5
Thanked 34 Times in 24 Posts
|
You do not need Javascript to do that you want. Simply include a mailto link in your page and when the user clicks on it their email client is automatically opened with the 'to' field automatically prefilled. Example: Code: <a href="mailto:you@somedomain.com">contact us</a> Try this: Encrypt mailto-email links Sean |
| http://www.ViralPDF.com - The #1 PDF Rebrander since 2002 http://www.PdfPrinterPro.com - Create PDFs with Audio, Video and Flash inside http://www.PdfLocker.com - Lock & Encrypt your PDFs quickly & easily | |
| | |
| | #4 |
| Warrior Member Join Date: Oct 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
You can't send email with javascript, it is a client side language. Use php instead.
|
| | |
| | |
![]() |
|
| Tags |
| code, javaccript |
| Thread Tools | |
| |
![]() |