Bootstrap Typeahead updater not being run

I am trying to have a custom updater function with Bootstrap 2.3.2. The updater function doesn't seem to be called for some reason.


<input id="options_select" type="text" class="options"/><br/>
<textarea id="options_all" rows="5"></textarea><br/>                    


$(document).ready(function() {      

    var source = [
        { id: 1, name: 'Courses' },
        { id: 2, name: 'Finance' },
        { id: 3, name: 'Housing' },
        { id: 4, name: 'Jobs' },
        { id: 5, name: 'Lifestyle' },           
        { id: 6, name: 'Travel' },          
        { id: 7, name: 'Miscellaneous' },];


        source: source,
        updater: function(item) {
            return item;

The typeahead is working fine, but why isn't the alert showing up?


Need Your Help

empty result list with jpa on datastore

java google-app-engine jpa datastore

I'm trying to use jpa with the app engine datastore.

SQL get change in values based on consecutive dates

mysql sql date join

I want to get the change in Price from day to day. What SQL query will accomplish this?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.