Many thanks for your response, Bill. Glad to know there would be no problem 
with PubNub and that there are people there who would be happy to answer 
questions!

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). 
>

Leaving aside the typeahead issue for now, suppose that, SOMEHOW, the user 
gives some input indicating that he wants to see a particular piece of 
text. Instead of making the user load a new web page to see it, or doing a 
refresh of the current page, I'd like it to show up by populating a 
textarea, after the text is retrieved from the server. I know that this is 
not normally a problem and is done all the time in AJAXy applications, but 
I'm not finding info on how something like that would be done in the 
Bootstrap context. I have found info on loading a tab's content dynamically 
(http://www.mightywebdeveloper.com/coding/bootstrap-2-tabs-jquery-load-content/)
 
and loading it into modals 
(https://github.com/twitter/bootstrap/issues/936), but nothing about just 
dynamically loading some content into a field on the current page. While 
PubNub will be great for some things, such as broadcasting the same counter 
to many pages, it doesn't sound like it's meant for replacing AJAX for 
general purpose use.

I'm a bit mystified as to why there's discussion on dynamic loading of data 
for tabs and modals but that it's hard to find for updating info on the 
current page. Or is the answer that it's just basically no problem at all, 
so nobody is writing about it? If that's the case, do you have any general 
suggestions of a nice toolset or approach that integrates well with 
Bootstrap?

Again, many thanks!

Gary

Reply via email to