forked from 0x2620/oxjs
first steps towards autocomplete
This commit is contained in:
parent
13be1d9a10
commit
301a9759db
2 changed files with 123 additions and 60 deletions
|
|
@ -326,6 +326,19 @@
|
|||
}
|
||||
]
|
||||
}).addClass("margin").width(96).appendTo(mainPanel);
|
||||
Ox.Input({
|
||||
id: "auto",
|
||||
autocomplete: function(value, callback) {
|
||||
callback([
|
||||
"Alabama", "Alaska", "Arizona", "California",
|
||||
"Indiana", "Illinois", "Iowa",
|
||||
"Kansas", "Kentucky",
|
||||
"Michigan", "New York",
|
||||
"Tennessee"
|
||||
]);
|
||||
},
|
||||
placeholder: "State"
|
||||
}).addClass("margin").width(96).appendTo(mainPanel);
|
||||
//*/
|
||||
function switchTheme() {
|
||||
if (Ox.theme() == "classic") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue