I would like to show a bootstrap
modal for my app. In which I would like to pass the size
, title
and content
parameters. so using a single modal i can use multiple requirement.
with all above information i would like to pass the default options
too.
at present i do like this:
var options = {
"backdrop" : "static",
"keyboard" : false,
"show" : false
}
$('#basicModal').modal(options);
How can i extend this in to my requirement using the bootstrap
inbuild/custom functions?
Any one help me please?
Update
I find a way to pass params, how it works?