I have a
I need a javascript method to clear the value of the textbox when the focus is
It sounds like you're trying to use a "watermark" (a default value that clears itself when the user focuses on the box). Make sure to check the value before clearing it, otherwise you might remove something they have typed in! Try this:
That will ensure it only clears when the value is "A new value".