<code>
var
options = {
serviceUrl:
""
,
type:
""
,
dataType:
""
,
deferRequestBy:
""
,
minChars: ,
width:
""
,
onSearchStart:
function
(query) {},
onSearchError:
function
() {},
transformResult:
function
(response) {},
onSelect:
function
(suggestion) {},
onSearchComplete:
function
() {}
};
$(
"#id"
).autocomplete(options);</code>