Hi I have one textbox named txtName and I want to make it's style to bold and regular at runtime in onFoucs event.

I used this but no result...
document.Form1.txtName.style.font.bold=true;