CHANGE Colour/Font OF A TEXT FIELD
823666Mar 15 2011 — edited Mar 15 2011Hi all,
I have an issue in Apex :
I need to change the colour of an text field and its font size/style when i enter that text field and when i leave that text field it should become normal and the text field which i enter should inherit those characteristics.
I wrote some code as below :
onfocus="this.style.backgroundColor='white'" onblur="this.style.backgroundColor='orange';"
and placed it in Element --->HTML Form Element Attributes
It is working to some extent.
i.e colour will change when i enter the text field.
But i need to change font also as mentioned above(in bold).
Can any one help me write a Function(Java script) so that i can call it where ever necessary.
Or please give your ideas on this.
I am using Oracle Apex 4.0
Thanks and Regards.
Saroop