在网页上放置隐藏的文本框 [英] Placing hidden textbox on web page

查看:97
本文介绍了在网页上放置隐藏的文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为我的项目创建一个注册表单,当用户必须填写要注册的字段时.字段之一是安全问题".从下拉菜单中向用户提供一些问题的信息,但如果用户单击 在自己指定"选择一个"TEXTBOX"应该显示在下拉框的右下方,以便用户输入此手动问题.注册Yahoo ID时,您会看到这样的示例.谁能告诉我该怎么办 那?感谢您的帮助.ADVANCE

I want to create a registration form for my project where, when a user has to fill in the fields for registration. One of the field is of "SECURITY QUESTION" where the user is provided with some questions from DropDown Box but if the user clicks on "SPECIFY YOURSELF" option a "TEXTBOX" should appear right below the the drop down box for the user to enter this manual question. The sample of such thing you can see when registering for a yahoo id. So can anyone tell me how can I do that? Any help would me very much appreciated.. Thank You in ADVANCE

推荐答案

在页面上添加一个新文本框,并将可见属性设置为false.当用户选择自己指定"时,字段,将文本框设置为在触发事件中可见.
Add a new textbox to the page with visible property set to false.  When the user selects the "SPECIFY YOURSELF" field in the DropDown, set the textbox to visible in the event that is fired.


这篇关于在网页上放置隐藏的文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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