title: Jquery conflict in Yii
body: <p>I have a problem, when I try to use a outer script that uses jquery like some caruslle script that I have.
  I got a layout and I want to transform it into yii and it has some scripts that use jquery like carousels and so on.</p>
  
  <p>Now yii automatically embeds jquery.
  The problem is that if I embed jquery by hand, the scripts work but the yii scripts don't.
  And if I don't embed the jquery, the yii scripts work (like ajax validation) and my scripts don't.
  So like this: mine works</p>
  
  <pre><code>&lt;link rel="stylesheet" type="text/css" href="/kav4/assets/8ff498f/css/redmond/jquery-ui.css" /&gt;
  &lt;script type="text/javascript" src="/kav4/assets/91eebf0f/jquery.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/kav4/assets/91eebf0f/jquery.yiiactiveform.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/kav4/assets/8ff498f/js/jquery-ui.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="js/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="js/jquery-ui.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and like this: yii works</p>
  
  <pre><code>&lt;link rel="stylesheet" type="text/css" href="/kav4/assets/8ff498f/css/redmond/jquery-ui.css" /&gt;
  &lt;script type="text/javascript" src="/kav4/assets/91eebf0f/jquery.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/kav4/assets/91eebf0f/jquery.yiiactiveform.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/kav4/assets/8ff498f/js/jquery-ui.min.js"&gt;&lt;/script&gt;
  </code></pre>