By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,480 Members | 1,240 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,480 IT Pros & Developers. It's quick & easy.

is your sceen fogged?

P: n/a
Can you point at syntax error here?

<FORM NAME="mail" method="POST" action="mailto:na**@hotmail.com?
subject=Survey Results" onSubmit="return
<b style="color:black;background-color:#a0ffff">survey()"
enctype="multipart/form-data">
Aug 24 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
little susane wrote:
Can you point at syntax error here?

<FORM NAME="mail" method="POST" action="mailto:na**@hotmail.com?
subject=Survey Results" onSubmit="return
<b style="color:black;background-color:#a0ffff">survey()"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^
enctype="multipart/form-data">
You are welcome.
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f8*******************@news.demon.co.uk>
Aug 24 '08 #2

P: n/a
little susane wrote:
Can you point at syntax error here?

<FORM NAME="mail" method="POST" action="mailto:na**@hotmail.com?
subject=Survey Results"
Problem 1: http://www.isolani.co.uk/articles/mailto.html
onSubmit="return
<b style="color:black;background-color:#a0ffff">survey()"
Problem 2: The onsubmit attribute takes a fragment of program code written
in the language specified in your Content-Script-Type meta data ...

http://www.w3.org/TR/html4/interact/...tml#h-18.2.2.1

.... and a fragment of HTML is not program code.
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
Aug 25 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.