How to bold text in JavaScript
I have the following code which is just draft at the moment as I build it up, but I want to bold the text when the checkbox value is on:
if(event.target.value=="Off"){ this.getField("Text11").value = "Hmmm"; } else { this.getField("Text11").value = "WORK"; }
So, in this instance when the box is ticked I want the 'Text11' field to display 'WORK' which it is doing, but I want that text to be bold.
Can someone help me with the code for doing this?
