I have the below code.

I have an input text field which has an example value grey colored. When clicking on the field, the text is erased and color is set to black. Then, after it finishes some VBScript, the fields are cleared and the example is back in the input field, but I cannot get it to also color it grey at this point.

Everything works fine except UserName.style = "color: #ccc;" in the VBScript.

Am I missing something here? VB error says "Not implemented"

Any solution highly appreciated.
Thank you.

VBScript:

```
UserName.value = "Example: JSmith"
UserName.style = "color: #ccc;"
</SCRIPT>

```

HTML:

```
<input type="text" name="UserName" value="Example: JSmith" style="color: #ccc;"  onfocus="myFunction(UserName)"><p>

```

JavaScript:

```
function myFunction(x)
{
x.style.color="black";
x.value="";
}

```