hi,

i have problems using jQuery.noConflict() and firefox 2.

my firefox version: pc firefox 2.0.0.20
the same with mac firefox 2.0.0.4

i'm using only the first example from
http://docs.jquery.com/Using_jQuery_with_Other_Libraries

it doesn't work, the following errors occur in firebug:

Security error" code: "1000
jQuery(document).ready is not a function

what shall i do?
anybody an idea if this is a bug?

best regards m

code i use below

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unbenanntes Dokument</title>
<script src="http://www.prototypejs.org/javascripts/prototype.js";></
script>
   <script src="../scripts/jquery/jquery-1.3.2.js"></script>
   <script>
     jQuery.noConflict();

     // Use jQuery via jQuery(...)
     jQuery(document).ready(function(){
       jQuery("div").hide();
     });

     // Use Prototype with $(...), etc.
     $('someid').hide();
   </script>

</head>

<body>
</body>
</html>


Reply via email to