如何实现鼠标移动到textbox上,自动显示一句提示?像hpyerlink有的功能那样 <input type=text onmouseover="Javascript:window.alert('hint');"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 ToolTip可以做到to al_lew:alert是警告而非提示. <div id="tooltip" style="display:none"/><input type=text onmouseover="setToolTip()">function setToolTip(){tootip.style.display=black;tootip.style.left=window.event.clientX;tootip.style.top=window.event.clientY;tooptip.innerHtml="msg";//set width and height}大至是这样,好久不用了,可能语句会有问题. 怎么老是提示缺少对象啊?学习一下,请指点!<INPUT type="text" name="o1" onmouseover="CreateMyToolTip()"> function CreateMyToolTip(){ ToolTip toolTip1 = new ToolTip(this.components); toolTip1.AutoPopDelay = 5000; toolTip1.InitialDelay = 1000; toolTip1.ReshowDelay = 500; toolTip1.ShowAlways = true; toolTip1.SetToolTip(this.o1, "1"); } 时间溢出~~~~~~~~~~~ 再次求助!~关于textbox输入数据显示格式的问题!! 怎样启动一个WebForm 如何用c#.net实现数据库(SQL SERVER)的备份 ? 求教 求一个asp.net+ajax登陆代码 登陆成功后获取cookie或者session 帮我看一下一段取时间到SQL查询的代码 高分求vss的web插件(通过web方式使用vss) 字符串处理的问题! Crystal Report问题,急!高分 怎样独立一片 程序段 错误问题 高手请进
to al_lew:alert是警告而非提示.
<input type=text onmouseover="setToolTip()">function setToolTip()
{
tootip.style.display=black;
tootip.style.left=window.event.clientX;
tootip.style.top=window.event.clientY;
tooptip.innerHtml="msg";
//set width and height
}大至是这样,好久不用了,可能语句会有问题.
<INPUT type="text" name="o1" onmouseover="CreateMyToolTip()">
function CreateMyToolTip(){
ToolTip toolTip1 = new ToolTip(this.components);
toolTip1.AutoPopDelay = 5000;
toolTip1.InitialDelay = 1000;
toolTip1.ReshowDelay = 500;
toolTip1.ShowAlways = true;
toolTip1.SetToolTip(this.o1, "1");
}