diff --git a/developer/topics/forms_api_reference.html b/developer/topics/forms_api_reference.html
index 3f1a8b5..bebc7b9 100644
--- a/developer/topics/forms_api_reference.html
+++ b/developer/topics/forms_api_reference.html
@@ -2860,6 +2860,13 @@ $form['#attached']['js'] = array(<br/>&nbsp;&nbsp;drupal_get_path('module', 'aja
 <p>and inline javascript can be loaded with the javascript as the key of the array,
 as described in <a href="http://api.drupal.org/api/function/drupal_add_js">drupal_add_js()</a>.</p>
 
+<p><strong>Scope settings</strong></p>
+<p>You can set the scope of the javascript by using the 'scope' key. The following example attaches the javascript to the footer:</p>
+<div class="codeblock"> <code>
+$form['#attached']['js'] = array(<br/>&nbsp;&nbsp;drupal_get_path('module', 'ajax_example') . '/ajax_example.js' => array(<br/>&nbsp;&nbsp;'scope' => 'footer',<br/>&nbsp;&nbsp;),<br/>);<br/>
+</code>
+</div>
+
 <p><strong>Adding settings</strong></p>
 <p>You add a javascript setting by using the 'data' key (as php keys can't be arrays):</p>
 <div class="codeblock"> <code>
