What is wrong with this code ? it is not showing the 37DIV on click
<a href="#" id="37" class="he"> CS504 </a>
<script>
$( "#37" ).click(function() {
$( "37DIV" ).show( "bounce", 1000 );
});
</script>
<div id="37DIV" style="display:none">
<a href="thread-52.html">lorem pum sum</a>
<a href="thread-52.html">lorem pum sum</a>
<a href="thread-52.html">lorem pum sum</a>
<a href="thread-52.html">lorem pum sum</a>
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script>
You forgot the # which tell jQuery to search by id.
Replace
with
You should also have your code in a ready callback.
And you must import jQuery before you use it. Put the import element in the head of your document :
Note that ID starting with digits aren’t valid in HTML4 (but that shouldn’t be a problem). Note also that jQuery 1.5 is very old. You should use a more recent version as you use a recent jQuery UI.