I have a couple textboxes that have values initially i.e. 'type text here' and when the user clicks or navigates to the textbox I want the text to disappear. The textboxes are asp.net textboxes and are contained in a masterpage as well as ascx files. I tried to use this code:
txtBox = document.getElementById(boxId);
txtBox.value = "";
But this is not working as I keep getting object expected errors. Any way to accomplish this in .net 2.0 when using masterpage?