How to make text clickable without a hash tag?
I'm very very new so....
I am trying to make an anchor or button using text to trigger a show hide event.
Is there away to make text clickable and still trigger an event without including a hash tag in the anchors href="#" resulting in a hash tag at the end of the url?
html:
-
<!--list with the event trigger-->
<ul>
<li><a href="http://blahblah.com/prev"></a></li>
<!--trigger below-->
<li><a href="#" id="doBlind"></a></li>
<li><a href="http://blahblah.com/next"></a></li>
</ul>
<!--crap to show and hide-->
<div class="blindfx">
<p>Crappity crap crap...</a>
</div>
jquery:
-
$(document).ready(function(){
$("#doBlind").click(function() {
$(".blindfx").slideToggle('normal');
});
});