]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Port #14034 over to hosted docs
authorChris Rebert <code@rebertia.com>
Sat, 27 Sep 2014 01:26:14 +0000 (18:26 -0700)
committerChris Rebert <code@rebertia.com>
Sat, 27 Sep 2014 01:26:14 +0000 (18:26 -0700)
javascript/index.html

index 073c563480eb88799ef344fd89cc513bccdfc14e..4be25fbc96a3fac1592e8b00b50858c1211b2f2e 100644 (file)
          <td>remote</td>
          <td>path</td>
          <td>false</td>
-         <td><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>
 <div class="highlight"><pre><code class="html"><span class="nt">&lt;a</span> <span class="na">data-toggle=</span><span class="s">&quot;modal&quot;</span> <span class="na">href=</span><span class="s">&quot;remote.html&quot;</span> <span class="na">data-target=</span><span class="s">&quot;#modal&quot;</span><span class="nt">&gt;</span>Click me<span class="nt">&lt;/a&gt;</span></code></pre></div>
          </td>
        </tr>