Whats wrong? <script name="email" type="text/javascript"> var i = A.B.value function mail() {document.write(i);} </script> <form action="post"action="mailto:[email protected]?bo dy=(javscript:mail())"><input name="B" type="textarea"value=""> </input>
-
-
Answer:
Except in rare circumstances, it's usually better to send mail from the server-side instead of relying on the client to have an email program set up. Additionally, textarea is not an input type; it's its own tag. It works like this: <textarea name="SomeName" rows="someInteger" cols="someInteger">Default Value</textarea> Next, you spell Javascript wrong in the action. Next, you should have the entire action be a Javascript call instead of injecting Javascript in the middle of it. Finally, there's no need to put a name attribute on the script element.
jkb3614 at Answerbag.com Visit the source
Other answers
It's sort of hard to tell with the way AB changes the formatting, but it looks like you are missing a semi-colon between "var i = A.B.value" and "function mail() ...". In other words, you need "var i = A.B.value;"
yeroco
Related Q & A:
- How can I get the value of dynamically created input?Best solution by Stack Overflow
- Can I use a stored value Visa gift card/debit card to subscribe to Yahoo Personals?Best solution by Yahoo! Answers
- How do I set up my windows mail to yahoo email??Best solution by Yahoo! Answers
- Does yahoo have a toolbar feature to fill out web forms (name, email,address,etc?Best solution by Yahoo! Answers
- Can I set up my e-mail account in Microsoft outlook even if I have a free e-mail account with yahoo.ca?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.