I want the visibility:visible to stay, where currently it flashes momentarily then disappears.
$(document).ready(function() {
$('#subscribe').click(function(e) {
$('#joinThanks').css('visibility', 'visible');
})
e.stopPropagation();
});
Any ideas?
thank guys.
The
e.stopPropagation()call should go inside the click handler:The syntax error this generated may have caused the odd behaviour you saw.