I have an asp.net textbox:
<asp:TextBox runat="server" id="tb" ToolTip="A" />.
That I need to be able to set the tooltip based on a value selected from a dropdown list.
If (var == "something") {
ToolTip = "B";
} else {
ToolTip = "A";
}
I'm setting the ToolTip to an inital value based on what the DropDown defaults to. When it changes I need to set the ToolTip.
I have seen and tried several solutions from the web, but have been unable to make them work.
I'm using and VS 2008 and IE7, the site is running using the VS server and not IIs. I have verified that I have the correct field and CAN change the 'title' using the debugger.
Thank You in advance