on click null inputbox using javascript
<input type="text" name="txtcity" id="txtcity" style="float:left; width:70px ; margin-right:5px;color: rgb(204, 204, 204); " value="City" onFocus="if (this.value == 'City'){this.value='';this.style.color='#000000';}" onBlur="if (this.value == ''){this.value='City';this.style.color='#cccccc';}" />
Comments
Post a Comment
If you Satisfied , Please Leave a comment