使用基于表单A的值填充表单B. [英] Populate form B with values based on form A
本文介绍了使用基于表单A的值填充表单B.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我对此问题感到震惊。
i有2种形式..
表格A有2个下拉框
州:
城市:
表格B
状态:
城市:
如何使用用户选择的相同值填充表单B.表格A
我会非常感激..如果有人可以帮助我
谢谢
Hi
I am struck with this problem .
i have 2 forms ..
Form A has 2 dropdown box
state :
city :
Form B
State :
City:
how to populate form B with the same values which the user selected in Form A
I would be very thankful .. if anyone can help me out
Thank You
推荐答案
欢迎来到TSDN!
如果表单有id,你可以使用
Welcome to TSDN!
If the form has an id, you can use
展开 | 选择 | 换行 | 行号
欢迎来到TSDN!
如果表单有id,你可以使用
Welcome to TSDN!
If the form has an id, you can use
展开 | 选择 | Wrap | 行号
如果他们在不同的页面上,你''我需要一个服务器端语言来设置值。
您可以使用cookie来做到这一点,但值得麻烦吗?
If they''re on different pages, you''ll need a server-side language to set the values.
You could possibly do this using cookies, but is it worth the hassle?
这篇关于使用基于表单A的值填充表单B.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文