表格处理技术 [英] form processing technique

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

问题描述

< form name =" frmTest"类型= [提交" method =" post">

< input type =" textbox"名称= QUOT; txtA" size = 10 value ="">

< select name =" cboB" value ="">

< option value =" 1"> 1

< option value =" 2"> 1

< / select>

< input type =" submit" name =" cmdSave">

< / form>


通常,当我点击cmdSave时,表单将被提交,cmdSave

设置。


现在我需要打开一个弹出窗口来选择一个值到txtA然后

提交表格而不设置cmdSave,所以我可以为cboB重新填充

选项。我该怎么办?我不打算在

时刻使用AJAX,而是采用旧技术。


-

iTech Consulting Services限制

ePOS解决方案专家

网站: http://www.itech.com.hk (仅限IE)

电话:(852)2325 3883传真:(852)2325 8288

<form name="frmTest" type="submit" method="post">
<input type="textbox" name="txtA" size=10 value="">
<select name="cboB" value="">
<option value="1">1
<option value="2">1
</select>
<input type="submit" name="cmdSave">
</form>

Normally when I click cmdSave, the form will be submitted, with cmdSave
set.

Now I need to open a popup for selecting a value into txtA and then
submit the form without setting cmdSave, so that I could re-populate the
options for cboB. How should I do it? I don''t plan to use AJAX for the
moment, but old techniques.

--
iTech Consulting Services Limited
Expert of ePOS solutions
Website: http://www.itech.com.hk (IE only)
Tel: (852)2325 3883 Fax: (852)2325 8288

推荐答案

4月26日晚上9:44,张文怀< toylet.toy ... @ gmail.comwrote:
On Apr 26, 9:44 pm, Man-wai Chang <toylet.toy...@gmail.comwrote:

< form name =" frmTest"类型= [提交" method =" post">

< input type =" textbox"名称= QUOT; txtA" size = 10 value ="">

< select name =" cboB" value ="">

< option value =" 1"> 1

< option value =" 2"> 1

< / select>

< input type =" submit" name =" cmdSave">

< / form>


通常,当我点击cmdSave时,表单将被提交,cmdSave

设置。


现在我需要打开一个弹出窗口来选择一个值到txtA然后

提交表格而不设置cmdSave,所以我可以为cboB重新填充

选项。我该怎么办?我不打算在

时刻使用AJAX,而是采用旧技术。


-

iTech Consulting Services限制

ePOS解决方案专家

网站: http://www.itech.com.hk(仅限IE

电话:(852)2325 3883传真:(852)2325 8288
<form name="frmTest" type="submit" method="post">
<input type="textbox" name="txtA" size=10 value="">
<select name="cboB" value="">
<option value="1">1
<option value="2">1
</select>
<input type="submit" name="cmdSave">
</form>

Normally when I click cmdSave, the form will be submitted, with cmdSave
set.

Now I need to open a popup for selecting a value into txtA and then
submit the form without setting cmdSave, so that I could re-populate the
options for cboB. How should I do it? I don''t plan to use AJAX for the
moment, but old techniques.

--
iTech Consulting Services Limited
Expert of ePOS solutions
Website:http://www.itech.com.hk(IE only)
Tel: (852)2325 3883 Fax: (852)2325 8288



提问Javascript新闻组。

Ask a Javascript newsgroup.


" Man-wai Chang"到****** *****@gmail.com在留言中写道

news:46 ******** @ 127.0.0.1 ...
"Man-wai Chang" <to***********@gmail.comwrote in message
news:46********@127.0.0.1...

< form name =" frmTest" type =" submit" method =" post">

< input type =" textbox" name =" txtA" size = 10 value ="">

< select name =" cboB" value ="">

< option value =" 1"> 1

< option value =" 2"> 1

< / select>

< input type =" submit" name =" cmdSave">

< / form>


通常,当我点击cmdSave时,表单将被提交,cmdSave

设置。


现在我需要打开一个弹出窗口来选择一个值到txtA,然后在不设置cmdSave的情况下提交

表格,所以我可以为cboB重新填充选项

。我该怎么办?我暂时不打算使用AJAX,但

旧技术。
<form name="frmTest" type="submit" method="post">
<input type="textbox" name="txtA" size=10 value="">
<select name="cboB" value="">
<option value="1">1
<option value="2">1
</select>
<input type="submit" name="cmdSave">
</form>

Normally when I click cmdSave, the form will be submitted, with cmdSave
set.

Now I need to open a popup for selecting a value into txtA and then submit
the form without setting cmdSave, so that I could re-populate the options
for cboB. How should I do it? I don''t plan to use AJAX for the moment, but
old techniques.



老兄,你在简历中撒谎多少能找到这份工作?我的意思是这些过去几个星期你曾经用无数的问题轰炸团队,好像

你不知道你是什么这样做和截止日期临近。


-
Ra ** *******@gmail.com


好茶。漂亮的房子。 - Worf


Dude, how much did you lie in your resume to get that job? I mean these past
few weeks you''ve been bombarding the group with a myriad of questions as if
you hadn''t got any idea what you''re doing and a deadline approaching.

--
Ra*********@gmail.com

"Good tea. Nice house." -- Worf


老兄,你在简历中撒谎多少能找到这份工作?我的意思是这些过去的
Dude, how much did you lie in your resume to get that job? I mean these past

几个星期你一直在用无数的问题轰炸团队,好像

你还没有知道你在做什么,截止日期临近。
few weeks you''ve been bombarding the group with a myriad of questions as if
you hadn''t got any idea what you''re doing and a deadline approaching.



我是网络应用中的新手。我的雇主允许我学习。所以这里有一些我应该问自己公司专家的问题。但是,这里没有网络应用程序专家。

。 :)


-

iTech咨询服务有限公司

ePOS(销售点)解决方案专家
网址: http://www.itech.com.hk (仅限IE)

电话:(852)2325 3883传真:(852)2325 8288

I am a newbie in web app. My employer allows me to learn. So here are
questions that I should have asked an expert in own company. But there
is no web app expert here. :)

--
iTech Consulting Services Limited
Expert in ePOS (Point-Of-Sales) solutions
Website: http://www.itech.com.hk (IE only)
Tel: (852)2325 3883 Fax: (852)2325 8288


这篇关于表格处理技术的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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