I'm currently trying to implement some jQuery functionality into a
site that is using other libraries: prototype and YUI to name a few.

I'm having problems getting my jquery code to execute properly. I've
read the documentation on jquery.com but i'm still receiving the error
message: "jQuery(document).ready is not a function".

If I remove the js file that loads the other libraries the code
executes fine. Unfortunately, this other js file is required and must
remain in the equation.

My code looks like this:

<code>
<script type="text/javascript">
                jQuery.noConflict();
                jQuery(document).ready(
                        function()
                                {
                                        $("#header").click(
                                                function()
                                                        {
                                                                alert('w00t');
                                                        }
                                        );
                                }
                );

        </script>
</code>

The part that really confuses me is that certain jquery functionality
works fine. I can change css properties, get widths and heights of
elements...but other functionality...like document.ready() don't work.

Can anyone clear this up for me?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery (English)" group.
To post to this group, send email to jquery-en@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to