I am not familiar with Twitter Bootstrap, but with a quick look at the link you are linked to, it looks like this: the .modal()
method takes an object to specify parameters, so to specify several parameters you should do this:
$('#my-modal').modal({ show : true, keyboard : true, backdrop : true });
A bit in braces {}
is the standard literal syntax for a JavaScript object, where you can specify multiple properties, separated by commas.
source share