onMouseover ImageButton asp.net DataList [英] onMouseover ImageButton asp.net DataList
本文介绍了onMouseover ImageButton asp.net DataList的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将鼠标上的数据绑定到我的DataList上ImageButton
我有ImgaeButton有CommandArument所以我可以绑定鼠标上的一些Div
< asp:ImageButton ID = ImageButton1 runat = 服务器 onmouseover = call(this) CommandArgument =' <% #Eval( UNAME)%>' / >
i希望在mouseover上捕获来自javascript或codebehind的commandArgument值
解决方案
请使用如下的jQuery。这些为图像创建父div鼠标悬停。请确保你必须实现jQuery插件。
(< span class =code-sdkkeyword> document )。ready( function ()
{
( .input:image)。hover(功能跨度>(){
I want to Bind Data On Mouse Over of My DataList ImageButton
I have place ImgaeButton having CommandArument So can i bind Some Div on mouse Over
<asp:ImageButton ID="ImageButton1" runat="server" onmouseover="call(this)" CommandArgument ='<%#Eval("UNAME") %>'/>
i want to catch commandArgument value from javascript or codebehind on mouseover
解决方案
Please use jQuery like below.These create a parent div for image when mouse hover.Please make sure that you must implement jQuery plugin.
(document).ready(function() {
(".input:image").hover(function(){
这篇关于onMouseover ImageButton asp.net DataList的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文