Oct 01, 2013, 6:40 AM
[CLOSED] TextField - Change Style on Focus
I want to apply some style when text field on form panel gets focus, but somehow it is not taking into effect. The following is the code,
Thank You Again.
<style>
.test {
background-image: none !important;
/*background-color: pink;*/
border-color: red !important;
border: 2px solid pink;
border-radius: 4px;
font-size: 14pt;
box-shadow: inset 0 1px 1px rgba(1,1,1,0.075), 0 0 8px rgba(82,168,236,0.6) ;
}
</style>
<ext:FormPanel ID="frm1" runat="server" Title="Testing Form">
<Items>
<ext:TextField ID="t1" runat="server" FieldLabel="First Name" FocusCls="test" />
<ext:TextField ID="TextField1" runat="server" FieldLabel=" Last Name" FocusCls="test"/>
</Items>
</ext:FormPanel>
Please help me out if anyone knows. Thank You Again.
Last edited by Daniil; Oct 08, 2013 at 6:44 AM.
Reason: Please use [CODE] tags, [CLOSED]