how to change the text box colour using html/javascript.
once u move ur mouse pointer on text field or u click on text field , then color of text field shuold change
hi ...
in case you want a pure css-solution you may have a look at the following simple example:
[HTML]<html>
<head>
<style type="text/css">
input#my_tb:hover, input#my_tb:focus {
border: 1px solid red;
background-color: lightyellow;
color: red;
}
</style>
</head>
<body>
<input type="text" id="my_tb" value="testtext"/>
</body>
</html>
[/HTML]
another way would be to do it with javascript ...
kind regards