I was surprised to find nothing on this in forums, docs, or samples. I have a input in a toolbar with a default value:
toolbar.addInput("dwgno", 20, "Drawing Number", 100);
“Drawing Number” is just a placeholder, when the user clicks into the field I want to remove that placeholder. So how do I apply an onFocus event? Also, when the user leaves the field, if they didn’t type anything, then I want to put the placeholder back, so I also need onBlur.
Thanks!