jQuery Chained Select TypeError: Cannot read property 'fn' of undefined
<p>I'm trying to make 3 tier chain select from this link <a href="http://www.appelsiini.net/projects/chained" rel="nofollow">http://www.appelsiini.net/projects/chained</a></p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset="utf-8"&gt;
&lt;script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"&gt;
&lt;script language="JavaScript" type="text/javascript" src="http://www.appelsiini.net/projects/chained/jquery.chained.js?v=0.9.4"      charset="utf-8"&gt;&lt;/script&gt;
&lt;script language="JavaScript" type="text/javascript" src="http://www.appelsiini.net/projects/chained/jquery.chained.remote.js?v=0.9.4"      charset="utf-8"&gt;&lt;/script&gt;

&lt;select id="mark" name="mark"&gt;
&lt;option value=""&gt;--&lt;/option&gt;
&lt;option value="bmw"&gt;BMW&lt;/option&gt;
&lt;option value="audi"&gt;Audi&lt;/option&gt;
&lt;/select&gt;
&lt;select id="series" name="series"&gt;
&lt;option value=""&gt;--&lt;/option&gt;
&lt;option value="series-3" class="bmw"&gt;3 series&lt;/option&gt;
&lt;option value="series-5" class="bmw"&gt;5 series&lt;/option&gt;
&lt;option value="series-6" class="bmw"&gt;6 series&lt;/option&gt;
&lt;option value="a3" class="audi"&gt;A3&lt;/option&gt;
&lt;option value="a4" class="audi"&gt;A4&lt;/option&gt;
&lt;option value="a5" class="audi"&gt;A5&lt;/option&gt;
&lt;/select&gt;
&lt;select id="model" name="model"&gt;
  &lt;option value=""&gt;--&lt;/option&gt;
  &lt;option value="coupe" class="series-3 series-6 a5"&gt;Coupe&lt;/option&gt;
  &lt;option value="cabrio" class="series-3 series-6 a3 a5"&gt;Cabrio&lt;/option&gt;
  &lt;option value="sedan" class="series-3 series-5 a3 a4"&gt;Sedan&lt;/option&gt;
  &lt;option value="sportback" class="a3 a5"&gt;Sportback&lt;/option&gt;
&lt;/select&gt;

&lt;script language="JavaScript" type="text/javascript"&gt;
    var $ = jQuery.noConflict();
jQuery(document).ready(function($) {
    /* For $.chained.js */
    $("#series").chained("#mark");
    $("#model").chained("#series");
    $("#engine").chained("#series, #model");

    return;
    /* Show button after each pulldown has a value. */
    $("#engine").bind("change", function(event) {
        if ("" != $("option:selected", this).val() &amp;&amp; "" != $("option:selected", $("#model")).val()) {
            $("#button").fadeIn();
        } else {
            $("#button").hide();          
        }
    })
});
&lt;/script&gt;

&lt;/html&gt;
</code></pre>

<p>When I run this code, I got an issue the dropdown couldn't chain and show an error message <strong>TypeError: Cannot read property 'fn' of undefined</strong>. So how to solving this problem? Thanks</p>