On Jun 6, 2012, at 12:29 PM, Gary Robinson wrote:
> For example, suppose I present a typeahead search box, and when the user
> settles on a string in the typeahead, a text area will be filled with some
> text, retrieved from the server in real time. Can you point me to info
> explaining a recommended way to achieve that in a Bootstrap context?
Oddly, unlike other TB Javascript plugins Typeahead doesn't expose any events
that I can see. Others do have essentially before and after event methods
(e.g., show and shown on tabs) so I'm not sure why this one doesn't. Still, I
would try using the change event and if not that then blur:
$(typeahead-elem).on('change', changeHandler).
> Also, I expect to have push elements for live updates of scores. I'm
> thinking about using PubNub for that, which has a jquery push API
> (http://www.pubnub.com/blog/jquery-push-api). Would there be any problem
> using that in the context of a Bootstrap-based site?
PubNub would be fine. Amusingly, I have friends at PubNub and I know they'd be
happy to answer your questions.
Good luck,
Bill Lazar