From 7f4af4aeeac5e93dcb69b5c820e8e791077cc787 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sat, 5 Jul 2014 23:42:30 -0700 Subject: [PATCH] `remote` modal docs: mention jQuery.load and other JS options as alternatives [skip sauce] --- docs/_includes/js/modal.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index f8ad8e33e8..d5b1aee849 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -259,7 +259,9 @@ remote path false -

This option is deprecated since v3.2.1 and will be removed in v4.

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

+ +

This option is deprecated since v3.2.1 and will be removed in v4. We recommend instead using client-side templating or a data binding framework, or calling jQuery.load yourself.

+

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

{% highlight html %} Click me {% endhighlight %}