Roon
Member
- Mar 31, 2013
- 60
- 9
So I'm trying to code a login/logout popover like so...
However, when I do this, I'm getting an error saying...
"15:11:17:845 - SyntaxError: missing ; before statement - main-scripts.js:7"
Thanks in advance
Code:
$(document).ready(function(){
$('.content-login-popover').hide();
});
$(document).ready(function(){
$('#login').click(function (){
$('.content-login-popover').show();
})); <--------- LINE 7.
};
$(document).ready(function(){
$('.content-login-popover').hide();
});
$(document).ready(function(){
$('#login').click(function(){
$('.content-login-popover').show();
}));
});
However, when I do this, I'm getting an error saying...
"15:11:17:845 - SyntaxError: missing ; before statement - main-scripts.js:7"
Thanks in advance