Submit your widget

FCBKcomplete facebook-like dynamic inputs (jQuery)

Created 8 years ago   Views 11776   downloads 2327    Author n/a
FCBKcomplete  facebook-like dynamic inputs (jQuery)
View DemoDownload 26.1 KB
149
Share |

Fancy facebook-like dynamic inputs with auto complete & pre added values

Use:

 

<script language="JavaScript">
$(document).ready(function() {
$.facebooklist('#elem', '#list', '#complete',{url:'ajax-url',cache:1}, height, {userfilter:1,casesensetive:0});
});
</script>

 

elem – input element id or object
list – preadded elements
complete – autocomplete div id or object
ajax – object with two parametrs a) url to fetch json object b) use cache
height – maximum number of element shown before scroll will apear
filter – object with two parametrs a)case sensitive b) show/hide filtered items
newel – show typed text like a element