如何使用向导的“下一步"和“后退"按钮在客户端保留TextBox值? [英] How to preserve TextBox values on client side using wizard next and back button?

查看:87
本文介绍了如何使用向导的“下一步"和“后退"按钮在客户端保留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 back I lost the value.

这是我的演示,这是来源

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值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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