文本框需要....按原样 [英] textboxes Need ....as it is
本文介绍了文本框需要....按原样的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好朋友,
更新鲜,我需要专家的帮助.
我需要像这样的文本框,当用户单击它时应将其启用.
请检查此链接.
http://planner.humaan.com.au/ [
Hello Friends,
Am Fresher, I need help from experts.
I need Textboxes same like this, when the user clicks in it it should be enable.
Please check this link.
http://planner.humaan.com.au/[^]
I need Same as it is...........
Please hlep me ,, am fresher to programing.... thanks
[edit]SHOUTING removed - OriginalGriff[/edit]
推荐答案
<html>
<head>
<style>
.chk:focus{
background-color:red;
}
</style>
</head>
<body>
<input class=chk type=text>
</body>
</html>
通过使用样式,您可以更改焦点上的文本框的颜色:)
BY using style you can change color of text box on focus :)
与启用或未启用无关
这就像用户单击文本框->更改BackgroundColor,如果另一个Textbox获得焦点,则只需设置默认BackgroundColor:)
It has nothing to do with enabled or not enabled
this is just if the user clicks in the textBox -> change the BackgroundColor and if another Textbox gets the focus just set the default BackgroundColor :)
这篇关于文本框需要....按原样的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文