0

I've just added a subscription form from mailchimp to my page and my existing java functions have stopped working. Obviously there are two conflicting sources. Here's the original:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

and the mail chimp source:

<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>

What can I do to have the two work in tandem?

Tim Lewis
  • 27,813
  • 13
  • 73
  • 102

1 Answers1

0
<script src="other_lib.js"></script>
<script src="jquery.js"></script>
<script>
$.noConflict();
// Code that uses other library's $ can follow here.
</script>

https://api.jquery.com/jquery.noconflict/

Melbourne2991
  • 11,707
  • 12
  • 44
  • 82