aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-07-05 23:42:30 -0700
committerChris Rebert <[email protected]>2014-07-05 23:43:29 -0700
commit7f4af4aeeac5e93dcb69b5c820e8e791077cc787 (patch)
treeb7b8da108389dac248a146a5febc721397746e80 /docs/_includes
parent24e51590b78d60213042df2d454ee82b40745591 (diff)
downloadbootstrap-7f4af4aeeac5e93dcb69b5c820e8e791077cc787.tar.xz
bootstrap-7f4af4aeeac5e93dcb69b5c820e8e791077cc787.zip
`remote` modal docs: mention jQuery.load and other JS options as alternatives
[skip sauce]
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/js/modal.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html
index f8ad8e33e..d5b1aee84 100644
--- a/docs/_includes/js/modal.html
+++ b/docs/_includes/js/modal.html
@@ -259,7 +259,9 @@
<td>remote</td>
<td>path</td>
<td>false</td>
- <td><p class="text-danger">This option is deprecated since v3.2.1 and will be removed in v4.</p><p>If a remote URL is provided, <strong>content will be loaded one time</strong> via jQuery's <code>load</code> method and injected into the <code>.modal-content</code> div. If you're using the data-api, you may alternatively use the <code>href</code> attribute to specify the remote source. An example of this is shown below:</p>
+ <td>
+ <p><span class="text-danger">This option is deprecated since v3.2.1 and will be removed in v4.</span> We recommend instead using client-side templating or a data binding framework, or calling <a href="http://api.jquery.com/load/">jQuery.load</a> yourself.</p>
+ <p>If a remote URL is provided, <strong>content will be loaded one time</strong> via jQuery's <code>load</code> method and injected into the <code>.modal-content</code> div. If you're using the data-api, you may alternatively use the <code>href</code> attribute to specify the remote source. An example of this is shown below:</p>
{% highlight html %}
<a data-toggle="modal" href="remote.html" data-target="#modal">Click me</a>
{% endhighlight %}