asp.net格式的标题案例 [英] Title Case In Form of asp.net
本文介绍了asp.net格式的标题案例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨....朋友们,我创建了一个注册表,在其中我需要填写所有表格,所有文本框都以标题形式输入,以便我可以轻松地做到这一点?
我可以使用样式表或任何其他简单的方法来完成此任务吗?
谢谢..
hi....friends i create a register form and in which i need to fill all form all text box is enter in title case so how i can do this with easy way???
may i do this using style sheet or any other easy way to this task???
thank you..
推荐答案
jQuery可以完成您想要的事情.我建议您查看 http://jquerybyexample.blogspot.com/2011/12 /jquery-plugin-for-uppercase-lowercase.html [ ^ ]
jQuery can do what you want. I would suggest looking at http://jquerybyexample.blogspot.com/2011/12/jquery-plugin-for-uppercase-lowercase.html[^]
在javascript中尝试这个
Try this in javascript
onfocusout="if(this.value!=null){this.value=this.value.toUpperCase();}"
谢谢
Thanks
这篇关于asp.net格式的标题案例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文