]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
`remote` modal docs: mention jQuery.load and other JS options as alternatives 14034/head
authorChris Rebert <code@rebertia.com>
Sun, 6 Jul 2014 06:42:30 +0000 (23:42 -0700)
committerChris Rebert <code@rebertia.com>
Sun, 6 Jul 2014 06:43:29 +0000 (23:43 -0700)
[skip sauce]

docs/_includes/js/modal.html

index f8ad8e33e8d96a5026639d3019282427f383d1eb..d5b1aee84941e4f348be5127fccbbc1f4ab83cf6 100644 (file)
          <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 %}