开发者

Multiple Jquery conflict

开发者 https://www.devze.com 2023-04-08 00:58 出处:网络
I\'m new to the whole forum thing, so I\'ll try my best to describe my problem clearly. I\'m trying to use two different jquery scripts on my page, one being Bxslider and the other being Captify. In

I'm new to the whole forum thing, so I'll try my best to describe my problem clearly.

I'm trying to use two different jquery scripts on my page, one being Bxslider and the other being Captify. In general, Whenever I try to implement more than one script, they can never work simultaneously. I don't think its a matter of one affecting the other, they just fail to work toge开发者_如何学Pythonther AT ALL.

My website is couchkumaras.com, I'm only trying out the captify on my local copy, so you'll see I haven't got it on there at the moment.

Any answers you guys have will be greatly appreciated, I've had this problem for a while, and I've usually been able to compromise, but if it's a small mistake I'm making, it'd be really useful!

Cheers, Finn.


If you open the error console in your browser (Google for a howto), or use a tool like Firebug (Firefox Addon) or the Chrome web inspector you'll see that there is an error when your script executes:

JQuery is not defined
    [Break On This Error] JQuery.crash=function(x)...    < line 549

You've mistyped jQuery as JQuery (there shouldn't be a capital J -- it's lowercase).

Using the error console can be a great aid in finding out what parts of the scripts that you're using are not functioning correctly.


I don't see captify.js being included anywhere in source. if you have access could you stick it in there so I can see what's going awry?

0

精彩评论

暂无评论...
验证码 换一张
取 消