本文介绍了如何使用向导的“下一步"和“后退"按钮在客户端保留TextBox值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这里找到了很棒的jQuery向导 Jerod Santo博客符合我的需要.我在第一步中添加了TextBox进行测试.

I have found great jQuery wizard here Jerod Santo blog which suits my need. I added TextBox on first step to test it.

当我在文本框中添加一些值时,单击下一步,然后返回我失去了价值.

When I added some value in textbox, clicked next and then backI lost the value.

这是我的演示,这是来源代码是否有一种方法可以在客户端保留此值,而无需在服务器上进行ajax调用.我认为问题可能在于内容隐藏.您认为对此有解决方案吗?

Here is my demo and here is source code Is there a way to preserve this values on client side without going on server with ajax calls. I think that problem might be content hiding. Do you think there is a solution for this?

更新:我创建了自己的jQuery向导来完成这项工作.我迟早会将其发布为答案.

Update: I created my own jQuery wizard which does the job. I'll post it as answer sooner or later.

推荐答案

以下是解决方案.我完全更改了代码,并创建了自己的向导.演示源代码可用.

Here is the solution. I completely changed code and created my own wizard.Demo and source code are available.

这篇关于如何使用向导的“下一步"和“后退"按钮在客户端保留TextBox值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 00:06