for a careers page, I have used bootstrap modal to that loads content(job descriptions) dynamically from remote html files. Now i want to integrate a hastag link into the page, so that when i give someone a link to a specific jd, lets say to www.example.com/careers/#javascriptdeveloper, it should open the careers page and open up javascript developer specific modal without the user clicking on any link on the page. How do i do that ?
this is my html and css..have used javascript to clear the cache every time a link is clicked and the modal loads the content.
<div class="modal slide fade right" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg pull-right" style="margin:0 ;padding:0 !important">
<div class="modal-content">
</div>
</div>
</div>
<div class="col-xs-12 col-sm-12">
<!-- Tab panes -->
<div class="tab-content col-xs-12 col-sm-12">
<div role="tabpanel" class="tab-pane active" id="technology" >
<div class="col-xs-12 col-sm-12 careers_jobdesc">
<a href="/careers/tech/javascriptappdeveloper/" class="list-group-item" data-toggle="modal" data-target="#myModal" data-direction="right">
<h4 class="list-group-item-heading">Javascript App Developer
<br>
<small>Number of positions : 2</small><br>
<small>Location</small>
</h4>
</a>
</div>
<div class="col-xs-12 col-sm-12 careers_jobdesc">
<a href="/careers/tech/datascientist/" class="list-group-item" data-toggle="modal" data-target="#myModal" data-direction="right">
<h4 class="list-group-item-heading">Data Scientist
<br><small>Number of positions : 1</small><br>
<small>Location</small>
</h4>
</a>
</div>
</div>
</div>
</div>
<!------css --------------->
.modal.fade:not(.in).right .modal-dialog {
-webkit-transform: translate3d(125%, 0, 0);
transform: translate3d(125%, 0, 0);
}
.modal-content{
min-height:700px !important;
border-radius: 0;}
}