File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -280,9 +280,8 @@ On the rendered page, the result will look something like this:
280
280
the ``data-prototype `` attribute is automatically added to the containing ``div ``,
281
281
and you need to adjust the following JavaScript accordingly.
282
282
283
- The goal of this section will be to use JavaScript to read this attribute
284
- and dynamically add new tag forms when the user clicks the "Add a tag" button.
285
- This example uses jQuery and assumes you have it included somewhere on your page.
283
+ Now we need some JavaScript to read this attribute and dynamically add new tag forms
284
+ when the user clicks an "Add a tag" link. This example uses `jQuery `_.
286
285
287
286
Add a ``script `` tag somewhere on your page so you can start writing some
288
287
JavaScript. In this script, bind to the "click" event of the "Add a tag"
@@ -684,6 +683,7 @@ the relationship between the removed ``Tag`` and ``Task`` object.
684
683
the `symfony-collection `_ package based on jQuery for the rest of browsers.
685
684
686
685
.. _`Owning Side and Inverse Side` : https://www.doctrine-project.org/projects/doctrine-orm/en/current/reference/unitofwork-associations.html
686
+ .. _`jQuery` : http://jquery.com/
687
687
.. _`JSFiddle` : http://jsfiddle.net/847Kf/4/
688
688
.. _`@a2lix/symfony-collection` : https://github.com/a2lix/symfony-collection
689
689
.. _`symfony-collection` : https://github.com/ninsuo/symfony-collection
You can’t perform that action at this time.
0 commit comments