Conflict when loading jQuery on the page

Asked

Viewed 96 times

0

I believe you have some jQuery conflict. I have on this page, among others, the link

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

When I comment on this line, the page appears according to this image. I want it to look like this,

but the menu acordion and Faq acordion do not work.

If I uncomment this link from the Ajax menu and Faq acordion work again, but the header looks like this image.

How to find out where the error is? How to fix it?

NOTE: I don’t know anything about jQuery

  • I don’t understand your doubt, but post your source code here, we’ll surely be able to help you better.

  • Can you post the code? What is happening is that without the jquery it does not convert the items (type the checklist) and when you use it, the components are generated. You will have to make the layout fixes in CSS

  • What do you not want to appear in the image ? It was not clear

  • The complete code is over, as I am novice, I do not know if it is allowed to post long script

  • The almost complete code is 388 lines, how can I send if the limit here is small?

  • If you open the page on Chrome and press F-12, there is an error in the console or on the flap Network? Case to Network is empty, reload the page with the console open.

  • @Ricogaucho takes a look at this article http://imasters.com.br/artigo/13871/jquery/evitando-conflitos-com-jquerynoconflict/

  • in Chrome no error appears. as to the article, I had already read something similar, but I do not know where exactly is the conflict.

  • You can post HTML. At least the section of select that is changing when you activate jquery...

  • 1

    Hello, Rico, you are free to [Edit] your question and add new information. You can’t convert the question into something else, but you have no problem doing updates when someone makes a comment asking for more information. As you can see, here in the comments the code is unreadable...

Show 5 more comments

1 answer

0

You can try using the conflict remove tag https://api.jquery.com/jquery.noconflict/ as in jQuery link.

But I believe it’s some class of your AJAX that’s using this class. It is better to publish some lines of code to help us solve the problem...

  • Hello, Dom. Here the signatures are prohibited, fill in your profile that your avatar will appear in all your answers and questions. This is our signature. Thanks!

  • Taken from everyone.. I’ll change Thank you.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.