i\'m trying to write unobtrusive default/placeholder text in input (actually, relatively placed label over input, which hides on onFocus
label
input
onFocus
you will need to manually attach the onfocus and onblur events, having got a handle on the input with getElementById.
onfocus
onblur
getElementById
here is an example: http://www.aspsnippets.com/Articles/Watermark-TextBox-using-JavaScript.aspx