From 82ea5847a7188b2798c5dbb0792e53ee8f60db55 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sun, 3 Jun 2012 21:26:54 -0700 Subject: adds remote source to modal. Remote source can be specified in href or by providing a remote option #936 --- docs/javascript.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index 8104219c4..a60d45316 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -269,6 +269,13 @@ true Shows the modal when initialized. + + remote + path + false +

If a remote url is provided, content will be loaded via jQuery's load method and injected into the .modal-body. If you're using the data api, you may alternatively use the href tag to specify the remote source. An example of this is shown below:

+
<a data-toggle="modal" href="remote.html" data-target="#modal">click me</a>
+

Markup

-- cgit v1.2.3