function() {
$(this).removeClass("ac_over");
}
- ).click(function(e) {
+ ).click(function(e) {
e.preventDefault();
e.stopPropagation();
selectItem(this)
};
function makeUrl(q) {
- var sep = options.url.indexOf('?') == -1 ? '?' : '&';
+ var sep = options.url.indexOf('?') == -1 ? '?' : '&';
var url = options.url + sep + "q=" + encodeURI(q);
for (var i in options.extraParams) {
url += "&" + i + "=" + encodeURI(options.extraParams[i]);
autoFill: false,
width: 0
}, $.fn.autocomplete.defaults, options);
-
+
options.width = parseInt(options.width, 10);
return this.each(function() {