i am trying to show a hidden div after a login button click event..but the div is not staying..it is vanishing after the login click..but i want to stay the div after login button click and it will stay in the page untill i click anything in the page..
my button
<asp:Button ID="loginbutton" runat="server" Text="Login" OnClientClick=" return someFunction();"/>
my javascript function
<script type="text/javascript">
function someFunction() {
$("#logdiv").show();
}
</script>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…