I am working on a bootstrap wizard and I need to find a way to disable the next navigation link under certain conditions. Does anyone have suggestions on how I can achieve this using jQuery, CSS, or any other method?
<div id="rootwizard">
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<ul>
<li><a href="#tab1" data-toggle="tab">Item Search</a></li>
<li><a href="#tab2" data-toggle="tab">Item Details</a></li>
<li><a href="#tab3" data-toggle="tab">Add SPR</a></li>
</ul>
</div>
</div>
</div>
<div class="tab-content">
<ul class="pager wizard">
<li class="previous first" style="display: none;"><a href="#">First</a></li>
<li class="previous"><a href="#">Previous</a></li>
<li class="next last" style="display: none;"><a href="#">Last</a></li>
<li class="next"><a href="#">Next</a></li>
</ul>
</div>
Any help will be greatly appreciated!