一个html链接多个php,php – html中单页的多个Web服务请求

我想在单页中提交三个表单.但我坚持一点.

我想在第一张表格中验证手机号码.然后在最终表格提交中使用该手机号码

我已经尝试在单个表单中使用它但是然后我如何发送Web请求以发送验证引脚和验证移动按钮.

我有三个这样的形式,

//First Form Take Mobile Number, web service will send verification Pin as reply to this action

Phone Number:

Verify Mibile Number

//Second Form verifies pin Locally which is sent by first service

Verification Pin(Sent on Mobile Number):

Verify Pin

//Third Form Will Take Mobile Number Previously Entered. and email/password and Complete Signup

Email:

Password:

PasswordAgain:

Complete Signup

问题是我无法获得电话号码的价值,因为页面在表单提交后刷新.

我读了一些关于使用AJAX的线程,但是如何在这种情况下使用Ajax.

我怎样才能做到这一点.使用AJAX,或使用PHP.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值