Tuesday, 15 June 2010

php - undefined attribute name data-placeholder -


I have tried to search for these two problems and some suggestions were not included in the forms inside the tables, so I have removed all my tables, as it is apparently not the right method for formatting your website? Another suggestion was that my jacquery was not linking correctly, which I think is a problem because the form is not behaving because they want to.

I am using the selected jquery and MVC yii framework.

Here I have my Java files

  & lt; Script src = ". / Asset / selectedjquery / js / select.jquery.min.js" type = ". Text / javascript" & gt; & Lt; / Script & gt; & Lt; Script src = "./ / assets / selectjquery / js / selected.jquery.js" type = "text / javascript" & gt; & Lt; / Script & gt; & Lt; Link href = "./satas / selectjquery / css / selected.css" rel = "stylesheet" type = "text / css" />   

And here is the form on which I have a problem getting a warning undefined attribute name (data-placeholder) where I have the & lt; Select data-placeholder = "select a country." Class = "chzn-select" style = "width: 350px;" Tabindex = "2" & gt;

  & lt ;! - Select country - & gt; & Lt; P & gt; & Lt; Label = "selectountount" & gt; Choose a country: & lt; / Label & gt; & Lt; Form ID = "Select country" name = "Select country" & gt; & Lt; Select Data placeholder = "Select a country." Class = "chzn-select" style = "width: 350px;" Tabindex = "2" & gt; & Lt; Option value = "" selected = "selected" & gt; & Lt; / Options & gt; & Lt; Option value = "Australia" & gt; Australia & lt; / Options & gt; & Lt; Option value = "USA" & gt; USA & lt; / Options & gt; & Lt; Option value = "Canada" & gt; Canada & lt; / Options & gt; & Lt; Option value = "England" & gt; England & lt; / Options & gt; & Lt; / Select & gt; & Lt; / Form & gt; & Lt; / P & gt;   

This form is considered a search drop down menu that displays prices in the list. See how it changes the standard selection menu. I still display a standard list that I think is linking to my Java files. This works in the previous project:

  & lt; Form ID = "Selection Country" name = "selectCountry" & gt; & Lt; P & gt; & Lt; Label = "selectountount" & gt; Choose a country: & lt; / Label & gt; & Lt; Select Data placeholder = "Select a country." Class = "chzn-select" style = "width: 350px;" Tabindex = "2" & gt; & Lt; Option value = "" selected = "selected" & gt; & Lt; / Options & gt; & Lt; Option value = "Australia" & gt; Australia & lt; / Options & gt; & Lt; Option value = "USA" & gt; USA & lt; / Options & gt; & Lt; Option value = "Canada" & gt; Canada & lt; / Options & gt; & Lt; Option value = "England" & gt; England & lt; / Options & gt; & Lt; / Select & gt; & Lt; / P & gt; & Lt; / Form & gt;   

Your form was unreadable since it was in the p / pre tag.

About data - placeholder , did you placeholder only? have tried?

No comments:

Post a Comment