Submit a JQuery Mobile form via AJAX with PHP
2012-01-07 23:08
477 查看
Submit a JQuery Mobile form via AJAX with PHP
转载在:http://www.giantflyingsaucer.com/blog/?p=2574Posted onApril 1, 2011byChad
Lung
I have a previous article on how to useJQuery Mobile (andPHP) to submit some data via AJAX. With a little modification you can
take that code and make it so you can submit an entire form. Today I’ll show you how to do that.
Note: I did this sample code on an
Ubuntu 10.10 Desktop system running nginx and PHP 5.3. I used JQuery Mobile alpha release 4. You can find out how to setup this particular instancehere.
The PHP page is very simple and will listen for two incoming fields.
File name: callajax.php
JQuery AJAX to send those serialized fields to the PHP page mentioned above. The results are then displayed.
File name: index.php
相关文章推荐
- JQuery Form AjaxSubmit(options)在Asp.net中的应用注意事项
- ajax上传图片 jquery插件 jquery.form.js 的方法 ajaxSubmit; AjaxForm与AjaxSubmit的差异
- jquery.form.js 利用ajaxSubmit ajax上传Excel,
- jQuery ajax submit form 被拦截问题的解决
- jquery提交form表单之ajaxForm() 和 ajaxSubmit()的区别
- php结合jquery异步上传图片(ajaxSubmit)
- 【jquery采坑】Ajax配合form的submit提交(微擎表单提交,ajax验证,submit提交)
- Jquery 中 ajaxSubmit 、ajaxForm使用讲解
- jQuery form插件之ajaxForm()和ajaxSubmit()的可选参数项对象
- jquery.form.js关于$("form").ajaxSubmit is not a function原因 .
- jQuery.form 中的 ajaxForm() 和 ajaxSubmit()
- 使用jquery.form.js的ajaxsubmit方法提交时参数file标签有值报JS错误
- JQuery Form AjaxSubmit
- jsForm - Html Form via JSON with jQuery
- Jquery插件之ajaxForm ajaxSubmit的理解用法
- 使用jquery.form.js的ajaxsubmit方法提交数据的Bug
- 通过jquery dialog为什么提交不了form表单 和 $("#Form").ajaxSubmit(options) is not a function 的原因
- jQuery form插件之ajaxForm()和ajaxSubmit()的可选参数项对象
- jQuery Form 表单提交插件-----ajaxSubmit() 的应用
- jQuery form插件的使用--ajaxForm()和ajaxSubmit()的可选参数项对象