是否有可能,如果我有一个组合框并选择了一个项目然后在我的下一页我有另一个组合框但我希望我的第二个组合框的价值是我选择的第一个...
问题描述:
是否有可能,如果我有一个组合框并在其中选择了一个项目然后在我的下一页我有另一个组合框但我希望我的第二个组合框的值是我为我的第一个组合框选择的那个? ??
is it possible if i have a combo box and have selected one item in it then in my next page i have another combo box but i want the value of my second combobox to be the one i selected for my first combo box???
答
将所选组合框的值存储在会话中,然后在加载该页面后将其分配给其他组合框。
Store the value of the selected combo box in a session and then assign it to the other combobox once that page is loaded.