I want to use events with jquery and tried the example:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
        <script type="text/javascript" src="/js/jquery.js"></script>
        <script type="text/javascript">
  // <![CDATA[
        
        $("p").click( function() { alert("Hello"); } );

  // ]]>
  </script>
</head>
<body>
<p>Hello</p>
</body>
</html>

But nothing happens, also with the other events (dblclick, mousedown etc.)

Can someone help me out??
-- 
View this message in context: 
http://www.nabble.com/Problem-with-Events-tf2569714.html#a7163372
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to