RhythmAddict112
Programmer
Hi all...disclaimer: Im quite new to .net...I've been looking around, and I cannot find anyone that can solve this problem for me...
I have a RadioButtonList..ie
Code:
Now, here is the thing...I need to get a unique onMouseOver event fired for each list Item. I am passing my javascript function different parameters in each listitem....Everyone has said to "just do" this...
Code:
Now, naturally that isn't going to work because the "ID" attribute isn't available for each listItem! If I wanted to run one JS function for the entire list, it would be no problem...but, that won't do me any good.
(Basically, I need to show/hide a div when someone rolls over a radiobutton list item.)
Is there any way to do this?
Use your resources, you're on the internet!
I have a RadioButtonList..ie
Code:
Code:
<asp:Table Runat=server ID=CatTable BorderWidth=1 BorderColor=#000033>
<asp:TableRow>
<asp:TableCell>
<asp:RadioButtonList Runat=server ID=radlist>
<asp:ListItem value="Ad services"></asp:ListItem>
<asp:ListItem value="Gen Maint"></asp:ListItem>
</asp:RadioButtonList>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
Code:
Code:
Me.ListItem1.Attributes.Add("OnMouseOver", _
"show('DivAdminServices');")
Me.ListItem2.Attributes.Add("OnMouseOver", _
"show('DivArtwork');")
(Basically, I need to show/hide a div when someone rolls over a radiobutton list item.)
Is there any way to do this?
Use your resources, you're on the internet!