Currently this is my site
file:///C:/Users/CW/workspace/CASE-STUDY-CW/WebContent/index1.html
I have this code
<td><a href="#menu4"><span class="glyphicon glyphicon-wrench"></span></a></td>
which I want to link to my div with id menu4 when clicked
<div id="menu4" class="tab-pane fade">
<h2>Modify Defect Details</h2>
<div class="form-group dropdown col-lg-6">
<div class="col-lg-12">
<label>Defect ID #</label>
</div>
but instead it just add #menu4 at my site
file:///C:/Users/CW/workspace/CASE-STUDY-CW/WebContent/index1.html#menu4
what seems to be the problem here? but when I'm using this
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a data-toggle="tab" href="#home">Home</a></li>
<li><a data-toggle="tab" href="#menu1">Report a Defect</a></li>
<li><a data-toggle="tab" href="#menu2">View all Defects</a></li>
<li><a data-toggle="tab" href="#menu3">Defect Details</a></li>
when I click on Defect Details, it switch to div id=menu3 hopefully this is also the same what I want with the clicking of glyphicon