title: jQuery UI: TypeError: $(...).accordion is not a function
body: <p>For some reason the <strong>jQuery UI Accordion</strong> does not work. I keep getting this error:</p>
  
  <blockquote>
    <p>TypeError: $(...).accordion is not a function</p>
  </blockquote>
  
  <p>What am i doing wrong? Based on other answers on this site on similar topics, i think it has something to do with the included files.</p>
  
  <p>My header includes are:</p>
  
  <pre><code>&lt;!-- Mobile Specific Metas --&gt;
  &lt;meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"&gt;  
  
  &lt;!-- CSS --&gt;
  &lt;link rel="stylesheet" href="&lt;?php echo base_url(); ?&gt;css/base_con.css"&gt;
  &lt;link rel="stylesheet" href="&lt;?php echo base_url(); ?&gt;css/skeleton.css"&gt;
  &lt;link rel="stylesheet" href="&lt;?php echo base_url(); ?&gt;css/layout.css"&gt;
  
  &lt;!--[if lt IE 8]&gt;
  &lt;script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js"&gt;&lt;/script&gt;
  &lt;![endif]--&gt;
  
  &lt;!--[if lt IE 9]&gt;
  &lt;script src="http://html5shim.googlecode.com/svn/trunk/html5.js"&gt;&lt;/script&gt;
  &lt;![endif]--&gt;
  
  &lt;!-- Favicons --&gt;
  &lt;link rel="shortcut icon" href="&lt;?php echo base_url(); ?&gt;images/favicon.ico"&gt;
  &lt;link rel="apple-touch-icon" href="&lt;?php echo base_url(); ?&gt;images/apple-touch-icon.png"&gt;
  &lt;link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png"&gt;
  &lt;link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png"&gt;
  &lt;link rel="stylesheet" href="&lt;?php echo base_url(); ?&gt;css/custom-theme/jquery-ui-1.10.0.custom.css" type="text/css" /&gt;
  
  &lt;!-- Scripts --&gt;
  &lt;script src="&lt;?php echo base_url(); ?&gt;js/jquery-1.9.0.js"&gt;&lt;/script&gt;
  &lt;script src="&lt;?php echo base_url(); ?&gt;js/jquery-ui-1.10.0.custom.js"&gt;&lt;/script&gt;
  &lt;script src="&lt;?php echo base_url(); ?&gt;js/responsiveslides.min.js" type="text/javascript"&gt;
  </code></pre>