I am using FCBKcomplete. I don't know the reason why my UI is not accepting any function triggered under $(document).ready.
I have to trigger the function below for Facebook like auto-complete, just like http://www.emposha.com/demo/fcbkcomplete_2/
$(document).ready(function() {
    $("#select3").fcbkcomplete({
        json_url: "data.txt",
        addontab: true,
        maxitems: 10,
        input_min_size: 0,
        height: 10,
        cache: true,
        newel: true,
        select_all_text: "select"
    });
});
But it's not working. Other events, such as click, blur and all are working fine in my UI. Is there any alternative function which I can use instead of document.ready?