I've got an ASP.Net page in which I have an html anchor tag and I've set the visible property to false. I want to make it visible with JQuery, but can't seem to get it to work. I've tried to use the selector for the anchor tag itself, and also a class selector, but neither has any effect. Here is the markup for the anchor tag:
<a runat="server" class="reg" visible="false" id="RegisterSoftwareTab" href="../RegisterSoftware.aspx">Register Software</a>
And here is the JQuery code:
<script type="text/javascript" >
$(document).ready(function() {
$('a').attr("visible", "true");
$('a').show();
$('.reg').attr("visible", "true");
$('.reg').show();
});
</script>