"$ .support undefined"

"$. support undefined" when trying to use fancybox with jQuery. Never seen this before.

Perhaps this is due to conflicting jQuery? Any ideas?

jQuery is definitely executing since the other elements on the page that use it are working fine.

+5
source share
4 answers

Did you make sure the jquery library is on top of the fancy box jQuery library?

see for example this one:

this is not true

<script src="../../FancyBox/Fancybox.js" type="text/javascript"></script>

<script src="../../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>

this is the right way

<script src="../../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>

<script src="../.. /FancyBox/Fancybox.js" type="text/javascript"></script>
+4
source

Do you include fancybox javascript file before jQuery? Do not do this.

+2
source

jQuery ? $.support - , jQuery 1.3 +

+1

You must upgrade to the latest version of jQuery.

+1
source

All Articles