hi
I use below code that when I go on image, linkbutton's color will change:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript">
$(function () {
$('.imgstorePT').hover(function () {
$('.payam4').css('color', 'white');
});
$('.imgstorePT').mouseleave(function () {
$('.payam4').css('color', '');
});
});
</script>
<script type="text/javascript">
$(function () {
$('.imgsmsP2').hover(function () {
$('.payam3').css('color', 'white');
});
$('.imgsmsP2').mouseleave(function () {
$('.payam3').css('color', '');
});
});
</script>
<script type="text/javascript">
$(function () {
$('.imgstoreP').hover(function () {
$('.payam').css('color', 'white');
});
$('.imgstoreP').mouseleave(function () {
$('.payam').css('color', '');
});
});
</script>
as you see in above code there are 3 image and 3 linkbutton that I define...
it works correctly and I put 3 Dropdownlist in page and put them into updatepanel:
<div id="AmFoD2">
<asp:UpdatePanel ID="upT" runat="server">
<ContentTemplate>
<asp:DropDownList ID="Ddlmetraj" runat="server" CssClass="ddlmet">
</asp:DropDownList>
</ContentTemplate>
</asp:UpdatePanel>
<div id="AmFoD21">
<asp:UpdatePanel ID="UpdatePanel5" runat="server">
<ContentTemplate>
<asp:DropDownList ID="Ddlvagozari" runat="server" CssClass="ddlvag" AutoPostBack="true"
OnSelectedIndexChanged="ddlTran_OSIC">
</asp:DropDownList>
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="UpTran" runat="server">
<ContentTemplate>
<asp:DropDownList ID="Ddltype" runat="server" CssClass="ddltype" OnSelectedIndexChanged="ddltype_OSIC"
AutoPostBack="true">
</asp:DropDownList>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</div>
problem is that when I select Item from dropdownlist java codes doesn't work(codes for image and linkbutton)
can you help me?
Best regards
neda