In this code, I
cannot see any event handler at all. Besides, you include jQuery library, but never use it. If this is all you have, absolutely no wonder that nothing happens.
If you want a typical jQuery approach, which I would strongly recommend, you can handle only
document.ready
and add other handlers in the handler of this event, so you never need adding any handlers in HTML. In this case, this script should come in
<body>
, not in
<head>
element:
http://docs.jquery.com/Tutorials:How_jQuery_Works[
^].
Also, do you know how to use the debugger?
—SA