AJAX表单问题?? [英] AJAX Form Problem??

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

问题描述

我有以下代码调用ajax页面我的问题是如何将表单值传递到ajax页面?我已经尝试了$ _REQUEST但它不会接受它们吗?

展开 | 选择 | Wrap < span class =codeDivider> | 行号

解决方案

< blockquote> _REQUEST但它不会拿起它们?

展开 | 选择 | Wra p | 行号


< blockquote>你对''AJAX页面'的意思是什么?使用XMLHttpRequest对象进行AJAX调用,并且不需要页面或类似的页面,您可以将表单字段的值作为params传递给请求...看看这里基本的AJAX示例


亲切的问候


我只是不确定如何解释我的问题。我有AJAX工作正常。我点击页面上的提交,相关页面打开,但


I have this below code that calls an ajax page my problem is how do i pass the form values into the ajax page? I''ve tried $_REQUEST but it wont pick them up??

Expand|Select|Wrap|Line Numbers

解决方案

_REQUEST but it wont pick them up??

Expand|Select|Wrap|Line Numbers


what do you mean with an ''AJAX-page''? an AJAX-call is made with the XMLHttpRequest-object and doesn''t need a page or smething similar and you could pass values of the form-fields as params with the request ... have a look here for a basic AJAX-example

kind regards


I''m just not sure how to explain my problem. I have the AJAX working fine. I click submit on the page and the relevant page opens but the


这篇关于AJAX表单问题??的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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