I am creating a data storage site with html, css, and javascript. On the login, It uses an if/else inside of a function. An example of what I need is below:
$('.activelogin').click(function(){
//get the username
//get the password
if (username === 'myName') {
document.cookie = 'succesful=true';
//go to more code
} else {
document.cookie = 'successful=false';
}
//more code
How do I get to //more code
from //go to more code
?