搜索文本框值 [英] Search text box value
本文介绍了搜索文本框值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
假设我有一个包含100个文本框的Web表单,因此用户希望使用查找第一"和查找下一个"按钮之类的功能在文本框中搜索值.我必须提供搜索值和2按钮的文本框.
如何在asp.net 1.1或任何其他下一版本中完成?请分享您的看法
非常感谢.....
Hi All,
Suppose I have web form with 100 text box so user want to search value inside text box using functionality like " Find First" & "Find Next" button click. I have to provide text box for search value and 2 button.
how can be done in asp.net 1.1 or any other next version ? please share your views
Many Thanks .....
推荐答案
正如Wes所说,您的设计很糟糕.通常,我会使用jquery,因为您可以一次搜索所有文本框.我很确定您可以根据内容进行搜索,然后可以更改匹配的控件的样式以显示它们很受欢迎.
As Wes said, your design sucks. In general, I would use jquery though, because you can search all text boxes at once that way. I am pretty sure you can search on the basis of content, and then you could change the style of the controls that match to show they were a hit.
这篇关于搜索文本框值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文