Hi,
I have a Search TextBox in my website.
This TextBox has a default Value called 'Seach....' .
Now what i want is Validation of this TextBox. I want a Javascript Alert Box, if the TextBox is Empty.
I cannot put the RequiredField Validator, as I have a default value to my textbox.
What's the code for this?
And where to Put the Code? In Code behind file i.e. .
vb file or in .aspx file(Design View).
I also have some Code behind, if the User enters some text & text is not empty.
Thank You............!!