I'm using JQuery 1.5.2.
Whilst using the .show function, it only shows the element partly, for like 0.3 seconds, and then the element hides itself again. This is consistent, with all other forms. What am I doing wrong?
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="Scripts/jquery-1.5.2.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#Button1').click(function () {
$('#clickmeupdate').show(function () {
});
});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<span style="background-color:Blue; display: none" id="clickmeupdate" >Click me to update</span>
<asp:Button ID="Button1" runat="server" Text="Button" />
</div>
</form>
</body>
</html>