J
John Dolinka
I am trying to change a tooltip on an asp.net (framework 2) textbox with out
a post back to the server. I can access many of the textbox properties and
change them but not the tooltip. Below is a code snippet of javascript that
works and the one tooltip "property" that does not.
Any ideas?
var a=document.getElementById("txtValMsg" + res.value.ID);
a.value=res.value.MsgValidator.Value;
a.style.visibility=res.value.MsgValidator.Visable;
a.ForeColor=res.value.MsgValidator.Color;
a.style.width=res.value.MsgValidator.Width;
debugger;
/*
* invalid property here, can't set tool tip.. help
*/
a.ToolTip="hello world";
Thanks,
John Dolinka
a post back to the server. I can access many of the textbox properties and
change them but not the tooltip. Below is a code snippet of javascript that
works and the one tooltip "property" that does not.
Any ideas?
var a=document.getElementById("txtValMsg" + res.value.ID);
a.value=res.value.MsgValidator.Value;
a.style.visibility=res.value.MsgValidator.Visable;
a.ForeColor=res.value.MsgValidator.Color;
a.style.width=res.value.MsgValidator.Width;
debugger;
/*
* invalid property here, can't set tool tip.. help
*/
a.ToolTip="hello world";
Thanks,
John Dolinka