在ajax中发布html表单 [英] posting html form in ajax

查看:71
本文介绍了在ajax中发布html表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



i希望在单击按钮时发布一个html表单到ajax函数,这个ajax函数会将这个fom对象传递给php页面,我想在那里获取所有的用户在表单中输入的值。


任何人都可以帮我这样做,因为我无法传递整个表单并访问php页面中的表单值。


谢谢。


i want to post an html form on the click of a button to an ajax function,this ajax function will pass this fom object to a php page,where i want to fetch all the values entered by user in the form.

can anyone help me to do this,as im not able to pass the whole form and access the form values in php page.

thank you.

推荐答案

HTML表单在哪里?到目前为止你已经完成了Ajax脚本。
Where is the HTML form ? and Ajax script so far you have completed.


我不明白你的问题。请你更清楚你想知道什么。


谢谢。
i did not understand your question clearly.please can u be bit more clear about what u want to know.

thank you.



i没有清楚地理解你的问题。请你更清楚你想知道什么。


谢谢。
i did not understand your question clearly.please can u be bit more clear about what u want to know.

thank you.



我需要你的HTML表格和JS脚本。请在此发布。

I need your HTML form and JS script. Please post it here.


这篇关于在ajax中发布html表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆