如何使用jQuery在我的网站演示中自动填写表单,好像真人正在打字?
I have a website with registration forms. I'm going to be demoing the website onscreen, and would like to have the forms fill themselves out, as if a person was manually typing in the form data.
我有一个注册表格的网站。我将在屏幕上演示网站,并希望将表单填满,就像一个人手动输入表单数据一样。
Is there a relatively simple way to do this with jQuery?
使用jQuery有一个相对简单的方法吗?
Thanks very much!
非常感谢!
4 个解决方案
#1
1
From this Stack Overflow question, it looks like there’s a jQuery plug-in called jTypeWriter that might do what you’re looking for.
从这个Stack Overflow问题来看,它看起来像是一个名为jTypeWriter的jQuery插件,它可能正在寻找你正在寻找的东西。
But as Robert says, the Selenium IDE plug-in for Firefox lets you record and play back browser interactions — assuming you’re demoing from your own computer, that’s probably easier than writing a bunch of jQuery code.
但正如罗伯特所说,用于Firefox的Selenium IDE插件可以让你录制和播放浏览器交互 - 假设你是从你自己的计算机进行演示,这可能比编写一堆jQuery代码更容易。
更多相关文章
- 在HTML / PHP联系表单上出现404/405错误(链接问题?)
- JSF和HTML表单的Unicode问题?
- 如何使用struts2访问表单数组字段
- 提交一个表单(后台生成id),点击保存并一步后切换到下一个tab中,此t
- 使用mysql验证在php中登录表单
- 如何在Laravel 5表单请求中使用请求路由参数?
- 防止Ajax创建表单的默认值
- 在PHP和MySQL中同时插入来自多个表单的多个值
- 如何使用PHP在表单中找到移动复制