Click here to Skip to main content
15,912,507 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my class name is inputs

i tried

C#
.inputs:focus
{
    border-color:Aqua;
}



but it did not work out
please help me
Posted
Updated 13-Feb-14 21:11pm
v2

C#
try below, it will work

input:focus
{
border-color:Aqua;
}
 
Share this answer
 
try this:-
C#
input[type="text"]:focus {
  border-color: Aqua;
}


refer this fiddle:-
http://jsfiddle.net/4TcY3/5/[^]
http://jsfiddle.net/4TcY3/2/[^]
 
Share this answer
 
v2
use jquery onfocus method


How To set Focus in TEXTBOX using JQUERY[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900