关于对焦功能 [英] about onfocus funcion

查看:71
本文介绍了关于对焦功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须输入文本框.
当我将鼠标悬停在任何文本框上时,必须在asp.net中显示日历控件.
最初,日历控件将显示为false,然后在鼠标悬停时将其显示为true.
日历控件应显示在文本框的底部.
现在我不知道如何为文本框添加onfocus事件.
我是用C#代码编写的Web应用程序.和文本框是服务器控件.....

i have to text boxes.
on which i have to show a calendar control in asp.net when i do a mouse over on any of the text box.
initially the calendar control will be visible false then i will make it visible true on mouse over.
the calendar control should appear in the bottom of the textbox.
now i dont know how to add onfocus event for the textbox.
i am doint web application with c# code. and text boxes are server controls.....

推荐答案

您需要使用javascript或jQuery.

请参见本示例

jQuery Datepicker [ ^ ]
batter u use javascript or jQuery.

see This Example

jQuery Datepicker[^]


这篇关于关于对焦功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆