1
在我的网站上有一个新的用户将不得不填写的表格,然后将文本信息发送给用户。这是形式的行动看起来如何添加变量到一个表单发布URL用javascript
http://example.com/app_api.php?view=send_sms&&user=username&&pass=password&&message=hello+there+welcome+to+our+group&&sender_id=example&&to=00000000&&key=4
但由于每个用户的电话号码是不同的,我想用一个替换形式的行动to
变量的用户将在文本框输入phone
能谁能帮助我通过
<form id="new_member_sms" name="new_member_sms" method="post" action="http://example.com/app_api.php?view=send_sms&&user=username&&pass=password&&message=hello+there+welcome+to+our+group&&sender_id=example&&to=00000000&&key=4">
<label for="phone"></label>
<blockquote>
<p>
<input name="phone" type="text" id="phone" />
</p>
</blockquote>
</form>