I'm having trouble with this code. Whenever i clicked the button to show the hidden text, it displays the text but only like for 1 second and hides again. Am i missing or something?
$(document).ready(function(){
$("h3").hide();
$(window).load(function(){
$('#loginbutton').click(function(){
$("h3").show();
});
});
});