I am using semantics ui library for a small project and I am facing a problem with the dropdown of the library. I am trying to implement a simple dropdown using semantics UI. But the thing is, it is not expanding when I am clicking it. I cannot see the dropdown options.
Here is the code. Some help will be appreciated.
<head>
<script type="text/javascript" src="js-lib/semantic.min.js"></script>
<script type="text/javascript" src="js-lib/jquery-1.10.2.min.js"></script>
<link rel="stylesheet" href="css/semantic.css" type="text/css" />
<link rel="stylesheet" href="css/style.css" type="text/css" />
<script>
$('.ui.dropdown')
.dropdown()
;
</script>
</head>
<body background="backgrounds/bg.jpg" style="background-repeat:no-repeat">
<div class="ui selection dropdown">
<input type="hidden" name="gender">
<div class="default text">Gender</div>
<i class="dropdown icon"></i>
<div class="menu">
<div class="item" data-value="1">Male</div>
<div class="item" data-value="0">Female</div>
</div>
</div>
</body>
</html>
Here is the link to the demo page :