|
Plugin supports many arguments. All arguments are optional except for source page..
| Option |
Description |
Default value |
| debug |
Set debug to true for testing to display errors , then
turn it off by setting it to false |
false |
| source |
Source page that returns the listbox HTML via AJAX call |
'' |
| id |
| id prefix for keyword input and listbox. If id was "field1";
then keyword input id would be "field1_key" and listbox id
would be "field1_list" |
'' |
| value |
| Initial value in keyword input. |
'' |
| pi |
Initial page index. |
'' |
| size |
listbox size, which is number of visible options in the listbox.
default is 10 |
10 |
| vars |
Additional params to be passed by AJAX to source page.
could be something like {status:1, category:100}
or values as expressions to be evaluated on initialization {status:
$('#Status').val() }
or values as anonymous functions {status: function(){ return
$('#Status').val() } }. which make values get evaluated each
time it is referenced! |
null |
|