N
niv
Hi,
I have an asp.net button control on a webform.
I would like to show a drop down window when the user
moves their mouse over the button.
The information in this dropdown or popup is going to be
coming from a dataset.
I have tried the following.
<INPUT onmouseover="func()" id="myButton"
type="button" value="Button1" style="Z-INDEX: 102; LEFT:
200px; POSITION: absolute; TOP: 104px"
runat="server">
<script type="text/javascript">
function func()
{
//you could put anything here, e.g. opening a window etc.
alert('Hi');
}
myButton.Attributes["onmouseover"]=String.Format("func
({0})", "my text");
I am not getting the result Im looking for with this code.
I took this code from this newsgroup.
Thanks for your help,
niv
I have an asp.net button control on a webform.
I would like to show a drop down window when the user
moves their mouse over the button.
The information in this dropdown or popup is going to be
coming from a dataset.
I have tried the following.
<INPUT onmouseover="func()" id="myButton"
type="button" value="Button1" style="Z-INDEX: 102; LEFT:
200px; POSITION: absolute; TOP: 104px"
runat="server">
<script type="text/javascript">
function func()
{
//you could put anything here, e.g. opening a window etc.
alert('Hi');
}
myButton.Attributes["onmouseover"]=String.Format("func
({0})", "my text");
I am not getting the result Im looking for with this code.
I took this code from this newsgroup.
Thanks for your help,
niv