aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-06-03 21:26:54 -0700
committerJacob Thornton <[email protected]>2012-06-03 21:26:54 -0700
commit82ea5847a7188b2798c5dbb0792e53ee8f60db55 (patch)
tree8700b7499d022149951d4ded17759f6e0da69ff7 /docs/javascript.html
parent041b8bdfd32cc93c6594a0e3cb1e93e74faa2562 (diff)
downloadbootstrap-82ea5847a7188b2798c5dbb0792e53ee8f60db55.tar.xz
bootstrap-82ea5847a7188b2798c5dbb0792e53ee8f60db55.zip
adds remote source to modal. Remote source can be specified in href or by providing a remote option #936
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html7
1 files changed, 7 insertions, 0 deletions
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 @@
<td>true</td>
<td>Shows the modal when initialized.</td>
</tr>
+ <tr>
+ <td>remote</td>
+ <td>path</td>
+ <td>false</td>
+ <td><p>If a remote url is provided, content will be loaded via jQuery's <code>load</code> method and injected into the <code>.modal-body</code>. If you're using the data api, you may alternatively use the <code>href</code> tag to specify the remote source. An example of this is shown below:</p>
+<pre class="prettyprint linenums"><code>&lt;a data-toggle="modal" href="remote.html" data-target="#modal"&gt;click me&lt;/a&gt;</code></pre></td>
+ </tr>
</tbody>
</table>
<h3>Markup</h3>