用HTML发布表单数据

问题描述

当它看起来像这样时,如何从index.html发送表单数据?

http://endpoint.service.com/?country=%7breplace+with+2+chars+country+code%7d&_v=6&name=%7breplace+with+url+encoded+string%7d&lastname=%7breplace+with+url+encoded+string%7d&phone=%7breplace+with+url+encoded+string%7d&email=%7breplace+with+url+encoded+string%7d&ud=%7breplace+with+url+encoded+send+date%7d&e=2&adv=1&a=4&f=221161&FormId=1807&SerialId=1210053

他们希望我像这样在我的html中映射表单字段:

PartnerAPI.setFormFirstNameID('FirstName_Input_ID'); PartnerAPI.setFormlastNameID('LastName_Input_ID');

我的表单如下:

   <form action="form.PHP" method="post">
      <div class="form-group has-Feedback">
        <input type="text" class="form-control" placeholder="First Name" name="firstName" required />
        <span class="glyphicon glyphicon-user form-control-Feedback"></span>



   

感谢您的帮助,因为我被困住了。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)