Simple FAQ Show Hide DD DT Not Working
Hello,
I am rather new to Jquery and have followed a tutorial on how to create a simple FAQ page that hides all answers on load (it does this succesfully) and then when you click on the speicific question it shows the response.
The second part of the functionality is not working at all, i have tried adding an alert and remove the main bit of code to test the click and that is not working. Also the cursor does not change to a pointer it is a cursor indication typing/selecting text.
Here is the script
<script type="text/javascript" src="/Jquery/jquery-1.3.2.min.js"></script>
<script>
$(document).ready(function(){
alert("hide");
$("dd").hide();
});
$("dt").click(function(){
alert("Thanks for visiting!");
$(this).next().toggle();
});
</script>
I have no css set up as I don't think I need it to get this working correctly!?!?!?
Any help, ideas, suggestions are more than welcome :-)
Thanks.