jQuery hyperlinks - href value? text][1]
I am running in to a problem using jquery and a click event attached to an anchor element. [1]: jQuery hyperlinks - href
It helped me a lot with the below code. Thank you!
$(document).ready(function() {
$(".dropdown dt a").click(function(event) {
event.preventDefault();
$(".dropdown dd ul").toggle('slow');
});
$(".dropdown dd ul li a").click(function(event) {
event.preventDefault();
$(".dropdown dd ul").hide();
});
});