use .typeahead('val') instead of jquery.val.