请求对象 [英] Request object

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

问题描述

我已经通过了一个帖子。

表单是从dB生成的,可以更改。

接受帖子的页面必须输入输入名称从表单传递给它的值。


Request.Form(I)(1)给我值,但是我无法检索名称。


我知道这很简单。但似乎无法开始工作。

解决方案

这里是竞争线

<输入名称="<%= trim(Request.Form(I)(1))%>"类型= QUOT;隐藏" value ="<%= trim(Request.Form(I)(2))%>">


" BJ Freeman" < BJ *********** @ free-man.net>在留言新闻中写道:Tz *************** @ news.uswest.net ...

我已经通过了一个带帖子的表格。

表单是从dB生成的,可以更改。

接受帖子的页面必须从传递给它的表单中获取输入名称和值。


Request.Form(I)(1)给我值,但我无法检索名称。


我知道这很简单。但似乎无法开始工作。


2004年4月6日星期二08:04:31 -0700,BJ Freeman写道:
< blockquote class =post_quotes>这里是竞争线
< input name ="<%= trim(Request.Form(I)(1))%>"类型= QUOT;隐藏" value ="<%= trim(Request.Form(I)(2))%>">




Mhm ..这似乎ASP / VBS不是ASP / JScript ..在这种情况下,你是OT。


无论如何,Form是一个请求对象的集合,所以你可以使用Key for

获取元素的名称。


例如:


Request.Form.Key(1)


-

C''ya,

ZER0 :: coder.gfxer.webDesigner();


非esistono donne brutte。 Dipende solo da quanta vodka bevi。

(proverbio russo)


ZER0写道:

< snip> < blockquote class =post_quotes> Mhm ..这似乎是ASP / VBS而不是ASP / JScript ..在这种情况下,你是OT。



< snip>


垃圾,JScript是一个ECMAScript实现,完全基于

这个组的主题。


Richard。

I have passed a form with a post.
the form is generated from a dB and can change.
the page that accepts the post must get the input name and value from the form passed to it.

Request.Form(I)(1) give me the value, but I can not retrieve the name.

I know it is something simple. but cannot seem to get to work.

解决方案

here is the compete line
<input name="<%= trim(Request.Form(I)(1))%>" type="hidden" value="<%= trim(Request.Form(I)(2))%>">

"BJ Freeman" <bj***********@free-man.net> wrote in message news:Tz***************@news.uswest.net...
I have passed a form with a post.
the form is generated from a dB and can change.
the page that accepts the post must get the input name and value from the form passed to it.

Request.Form(I)(1) give me the value, but I can not retrieve the name.

I know it is something simple. but cannot seem to get to work.


On Tue, 6 Apr 2004 08:04:31 -0700, BJ Freeman wrote:

here is the compete line
<input name="<%= trim(Request.Form(I)(1))%>" type="hidden" value="<%= trim(Request.Form(I)(2))%>">



Mhm.. this seems ASP/VBS not ASP/JScript.. in that case, you''re OT.

Anyway, Form is a Collection of Request Object, so you can use the Key for
obtain the name of a element.

For Example:

Request.Form.Key(1)

--
C''ya,
ZER0 :: coder.gfxer.webDesigner();

Non esistono donne brutte. Dipende solo da quanta vodka bevi.
(proverbio russo)


ZER0 wrote:
<snip>

Mhm.. this seems ASP/VBS not ASP/JScript.. in that case, you''re OT.


<snip>

Rubbish, JScript is an ECMAScript implementation and so completely on
topic for this group.

Richard.


这篇关于请求对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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