mmaners
09-01-2007, 01:10 AM
I'm trying to use java script to set property values of various Microsoft WebControls. I'm a new java script programmer and am just overwhelmed with material that i'm exposed myself the past few days, but can't seem to find, or understand how something so simple can be done.
here is a js function in my code.
txtRC is a Microsoft webcontrol.textbox
btnRCLookUp is a infragistics webdatainput.WebImageButton
on the buttons mouseOver event the following js function runs
function btnRCLookUp_MouseOver(oButton, oEvent){
document.Form1.txtRC.value = "45"; // This works fine.
document.Form1.txtRC.ToolTip = "Some Text"; // The tooltip doesn't display
}
I have half figured out my problem... .ToolTip is not part of an element, but .Value is.....so what is the syntax to set the tooltip property? I don't mind if someone just points me to where in the manual the answers are.
here is a js function in my code.
txtRC is a Microsoft webcontrol.textbox
btnRCLookUp is a infragistics webdatainput.WebImageButton
on the buttons mouseOver event the following js function runs
function btnRCLookUp_MouseOver(oButton, oEvent){
document.Form1.txtRC.value = "45"; // This works fine.
document.Form1.txtRC.ToolTip = "Some Text"; // The tooltip doesn't display
}
I have half figured out my problem... .ToolTip is not part of an element, but .Value is.....so what is the syntax to set the tooltip property? I don't mind if someone just points me to where in the manual the answers are.