makeusabrew/bootbox — pull request #13 by jpadvo (2011-12-10 00:27:27+00:00)
Title: Allow jQuery selections to be used as content of dialog

This lets dialogs contain interactive content that is linked to javascript controllers or modules that are running the show behind the scenes.

Example:
dialog_content = $('

Something important

...just happened

')
bootbox.alert(content)
dialog_content.html('

Consequences will never be the same

')