Note that there are some explanatory texts on larger screens.

plurals
  1. POundefined attribute name data-placeholder
    text
    copied!<p>I have tried searching these two problems and some suggestions were to not include forms inside tables so I have since removed all of my tables as apparently this is not correct method for formatting your website? Another suggestion was that my jquery wasn't linking in correctly which I think is the problem because the forms are not behaving as they are supposed to.</p> <p>I'm using chosen jquery <a href="http://harvesthq.github.io/chosen/" rel="nofollow">http://harvesthq.github.io/chosen/</a> and MVC yii framework.</p> <p>Here is me trying to link my java files in </p> <pre><code>&lt;script src="./assets/chosenjquery/js/chosen.jquery.min.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="./assets/chosenjquery/js/chosen.jquery.js" type="text/javascript"&gt;&lt;/script&gt; &lt;link href="./assets/chosenjquery/css/chosen.css" rel="stylesheet" type="text/css" /&gt; </code></pre> <p>and here is the form I'm having the issue with receiving a warning undefined attribute name (data-placeholder) on the line where I have <code>&lt;select data-placeholder="Select a Country.." class="chzn-select" style="width:350px;" tabindex="2"&gt;</code></p> <pre><code>&lt;!-- Select Country --&gt; &lt;p&gt; &lt;label for="selectCountry"&gt;Select a Country:&lt;/label&gt; &lt;form id="selectCountry" name="selectCountry"&gt; &lt;select data-placeholder="Select a Country.." class="chzn-select" style="width:350px;" tabindex="2"&gt; &lt;option value="" selected="selected"&gt;&lt;/option&gt; &lt;option value="Australia"&gt;Australia&lt;/option&gt; &lt;option value="USA"&gt;USA&lt;/option&gt; &lt;option value="Canada"&gt;Canada&lt;/option&gt; &lt;option value="England"&gt;England&lt;/option&gt; &lt;/select&gt; &lt;/form&gt; &lt;/p&gt; </code></pre> <p>The form is supposed to be a drop down menu with a search included that displays matching values in the list. See <a href="http://harvesthq.github.io/chosen/" rel="nofollow">http://harvesthq.github.io/chosen/</a> where it changes the standard select menu. Mine however displays a standard list which makes me think there something wrong with how I'm linking in my java files. This works in a previous project :/</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload