FCBKcomplete v 1.09
Posted on 25. Mar, 2009 by emposha in ASP.NET, Facebook, Featured Articles, Javascript, Jquery, Pro Counter
Fancy facebook-like dynamic inputs with auto complete & pre added values. If you have any comments or requests, please post them and I will try to include all the requested features in the upcoming release.

New version of FCBKcomplete can be found here
Download: Download FCBKcomplete
Demo: Demo FCBKcomplete
Use:
<script language="JavaScript">
$(document).ready(function() {
$.facebooklist('#elem', '#list', '#complete',{url:'ajax-url',cache:1}, height, {userfilter:1,casesensetive:0});
});
</script>
* This source code was highlighted with Source Code Highlighter.
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
Creditrs for CSS & HTML structure: Guillermo (http://devthought.com)
Updates:
- 1.09 IE crash fixed
- 1.08 some minor bug fixed
-1.07 case sensetive added
applied filter to non ajax items
filter algorithm changed
cache for ajax request added
up/down with auto scrolling
minor code fixes
- 1.06 auto heigth fix
event bind on main element for better user frendly experience
filter for items
up/down keys supported from now
- 1.05 bindEvents function fixed thanks to idgnarn
- Name changed to FCBKcomplete
- 1.04 IE7 <em> tag replace fixed
- 1.03 IE7 & IE6 crash fixed
IE7 css fixed
- 1.02 json parsing fixed
remove element fixed
- 1.01: some bugs fixed

105 Comments
Arulmurugan
05. Aug, 2009
Hi,
Help
http://121.242.18.143/clients/ixia/autoCompleteFacebook/demo.html
JSON output file.
http://121.242.18.143/clients/ixia/autoCompleteFacebook/fetchUser.asp
sql = “Select Name , classnumber from userMaster_Tbl2″
if I give
“Select Name as caption , classnumber as value from userMaster_Tbl2″ it works.
I found in the fetchUser.asp.js where 2 change value to classnumber but could not find caption to Name.
My json output is as follows
[{"Name":"Ajay Ghosh","classnumber":"201"},{"Name":"Ajayan Peter","classnumber":"202"},{"Name":"Ajith Kumar M","classnumber":"203"},{"Name":"Anto Joy","classnumber":"204"},{"Name":"David C Paul","classnumber":"205"},{"Name":"Girish K.S","classnumber":"206"}]
ts
13. Aug, 2009
HOW TO GET THE VALUE??
Anderito
03. Dec, 2009
Nice plugin. very useful!
Can i limit the max-itens of (bit-box) added ?
tks!
avseq
14. Jan, 2010
the currently provided library does not support multiple autocomplete boxes in the same page!!!
the id of feed has been explicitly used in the core function!!!
Kam
04. Mar, 2010
Very nice tool, but it seems to be missing 2 things.
1. In FB the down arrow keys will show the first 5 or 6 options
2. After making a selection, focus is not returned to the box so I can continue to make selections.
Would it be possible to add these?
Thanks!