如何将来自不同输入字段的输入值连接到一个值

时间:2016-08-25 09:43:42

标签: javascript html forms input blogger

我有输入值的问题,我想在博客中使用它,因为你知道博客中的表格是从联系表格继承的,所以我只能使用价值形式,如姓名,电子邮件和消息, 并且在消息表单值中我希望将其设置为具有不同值的两倍,但是将管理员电子邮件发送为一个,从输入1加入值,并输入2。 也许喜欢用javascript?

<input id="ContactForm1_contact-form-name" name="name" placeholder="Name" size="20" required="" type="text"/>

<input id="ContactForm1_contact-form-email" name="email" placeholder="Email" required="" type="email"/>

<input id="ContactForm1_contact-form-email-message" name="email-message" placeholder="input 1" size="20" type="text"/>

<input id="ContactForm1_contact-form-email-message" name="email-message" placeholder="input 2" size="20" type="text"/>

0 个答案:

没有答案