Changing the textbox color dynamically
Changing the text box styling dynamically using java script. function txtBr(Recid) { if(Recid==0)document.getElementById ("Text1").style.border ='0px'; if(Recid==1)document.getElementById ("Text1").style.border ='1px'; if(Recid==1)document.getElementById ("Text1").style.borderStyle='solid'; if(Recid==1)document.getElementById ("Text1").style.borderColor ='red'; if(Recid==1)document.getElementById ("Text1").style.backgroundColor='yellow'; if(Recid==1)document.getElementById ("Text1").focus(); }