I have a asp:HyperLink control in my page. I need to change both the ImageUrl and NavigateUrl fields of the hyperlink in client side based on the selection made in the dropdown.
First I tried:
var hl = document.getElementById('<%= hlImage.ClientID %>');
hl.src = arrImage;
but I get error on it, so I changed it to
hl.lastChild.src = arrImage;
View Complete Post