通过表单看到特定的价值

时间:2014-06-10 14:34:08

标签: javascript html forms validation

我想知道为什么在发送此表单时我无法看到name = sjob的值 我只看到值name = body。 我希望能够在收到邮件时看到隐藏输入 我的订单:然后是他们放在文本框中的订单号。

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<body>
    <SCRIPT language="JavaScript">
        function e_friend(e_add,subject1,body,sjob)
        {
            window.location="mailto:"+e_add+"?subject="+subject1+"&body="+body+"&sjob="+sjob;
        }
    </SCRIPT>
    <form name="e_form" enctype="text/plain">
    The purpose of the reference<br />
        <input name="subj" id="natan" type="radio" value="Need Quotation" />Quotation - Quotation Needed<br />
        <input name="subj" id="lior" type="radio" value="Job Status" />Job Status and Marketing <br />
        <input name="subj" id="acc" type="radio" value="Accounting Info" />Accounting - Information<br />
        <input name="subj" id="mazkira" type="radio" value="Information" />Office  - General Information 
        <br /><br / >
        For Job Status please enter your order Number <br /> <input name="body" type="hidden" value="My Order :" />
        <input name="sjob" type="text"  /><br /><br />
        Select your mail Recipient<br />
        <input name="emadd" type="radio" value="natan@lev-dies.com" />Natan - CEO  <br/>
        <input name="emadd" type="radio" value="lior@lev-dies.com" />Lior - Marketing  <br/>
        <input name="emadd" type="radio" value="acc@lev-dies.com" />Roni - Accounting  <br/>
        <input name="emadd" type="radio" value="mazkira@lev-dies.com" />Office <br/><br /><br />
        <input type="button" Value="I've selected the recipient, Let's send mail!" onClick="e_friend(this.form.emadd.value,this.form.subj.value,this.form.body.value,this.form.sjob.value)" />
    </form>     
</body>
</html>

0 个答案:

没有答案