You can flush the cache, that should make modifications to the data array visible: http://docs.jquery.com/Plugins/Autocomplete/flushCache
Jörn On Sun, Sep 7, 2008 at 4:31 PM, Julian <[EMAIL PROTECTED]> wrote: > > Greetings! > I`m using jquery auto complete plugin from > http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ > Initialized with local JSON data which i receive from server the data > is something like > var data = [{"elem0":"data0"},{"elem1":"data1"}] > After that i`m trying to add new element to the data variable by > data.push({"elem2":"data2"}) > but the auto complete plugin works with the data which is initialized. > I don`t have access to add or remove new elements to the > variable which i initialize with atucomplete without unbind and call > autocomplete again. > Is there any other solutions? > >