Hilight the field with different color
Posted on 2012-04-02
I want to implement a utility in my application, that is, the field has to be hilighted with different color, if the cursor is presented in that field,
if i click on one text field it should be in different color, if i tab out from that field it should be remain in the previous color.
i implemented the same with onblur attribute, but it is not firing my actual validators, and also we need to add the logic to all the fields in all the pages.
So Please advise me , how I can achieve this dynamically, i.e
need not to add the code in all the fields. and it should not effect my actual business(validators).
Kindly Help me.