Thursday, January 21, 2010

Show/Hide Text in Textbox

<input type="text" name="search" class="form1" onblur="if (this.value == '') {this.value = 'thy4u.blogspot.com';}" onfocus="if (this.value == 'thy4u.blogspot.com') {this.value = '';}" value="thy4u.blogspot.com" />