• +91 9723535972
  • info@interviewmaterial.com

PHP Interview Questions and Answers

Question - How can we send mail using JavaScript?

Answer - No. There is no way to send emails directly using JavaScript. But you can use JavaScript to execute a client side email program send the email using the "mailto" code. Here is an example: function myfunction(form) { tdata=document.myform.tbox1.value; location="mailto:mailid@domain.com?subject=..."; return true; }

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners