Uncaught TypeError: Object [object Object] has no method 'tagsInput'
<p>My php code is like </p>

<pre><code>&lt;div class="field"&gt;                 
    &lt;label  style="float: none;"&gt;Recipients (by username):&lt;/label&gt;
    &lt;?=form_error('to')?&gt;
    &lt;input id="to" name="to" type="text" value="&lt;?=$form_to?&gt;" class="taglist"  /&gt;
&lt;/div&gt;
</code></pre>

<p>I have included <strong>jquery.tagsinput.css</strong></p>

<p>and I have also added the script </p>

<pre><code>$('.taglist').tagsInput({
        'height':'27px',
        'width':'400px',
        'defaultText':'add recepient',
    });
</code></pre>

<p>But i am getting the following error in console : </p>

<p><strong>Uncaught TypeError: Object [object Object] has no method 'tagsInput'</strong> </p>

<p>Any ideas.. what could have been the issue? Thanks.</p>
