You can insert default text in TextBox to assist your users what value to insert in the Textbox
onBlur="if (this.value=='') this.value = 'Default Value'" onfocus="if (this.value=='Default Value') this.value = ''
When the Textbox looses focus it's value will automatically changes to Default Value and when the focus is inside the control its Default value will change so that user can type
I hope it was informative for you and I would like to Thank you for reading.
onBlur="if (this.value=='') this.value = 'Default Value'" onfocus="if (this.value=='Default Value') this.value = ''
When the Textbox looses focus it's value will automatically changes to Default Value and when the focus is inside the control its Default value will change so that user can type
I hope it was informative for you and I would like to Thank you for reading.
No comments:
Post a Comment