Created
February 29, 2016 23:09
-
-
Save AndersonFirmino/c9e2162d22dd0c2fb907 to your computer and use it in GitHub Desktop.
Toggle Problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet"> | |
<link href="https://gitcdn.github.io/bootstrap-toggle/2.2.0/css/bootstrap-toggle.min.css" rel="stylesheet"> | |
</head> | |
<body> | |
<main class="container"> | |
<input checked data-toggle="toggle" type="checkbox"> | |
</main> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> | |
<script src="https://gitcdn.github.io/bootstrap-toggle/2.2.0/js/bootstrap-toggle.min.js"></script> | |
<script type="text/javascript"> | |
// isto vem abaixo das tags scripts | |
(function(){ | |
if(typeof jQuery === "undefined") { | |
console.info("jQuery não encontrado!") | |
} else { | |
console.info("jQuery encontrado!"); | |
} | |
}).call(this); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment